Nearest named color · #1F7590
#1F7590
Nearest named color: Celestial
#1F7590 (rgb(31 117 144), hsl(194 65% 34%), oklch(0.525 0.088 223.8)) is closest to the named color Celestial. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1F7590
oklch(0.525 0.088 223.8)
Color conversions
- HEX
- #1f7590
- RGB
- rgb(31 117 144)
- HSL
- hsl(194 65% 34%)
- HWB
- hwb(194 12% 44%)
- OKLCH
- oklch(0.525 0.088 223.8)
- OKLab
- oklab(0.525 -0.064 -0.061)
- CIE Lab
- lab(45.29 -18.49 -22.4)
- LCH
- lch(45.29 29.04 230.5)
- CMYK
- cmyk(78% 19% 0% 44%)
Tints · Shades · Tones
Tints
- 3C829B
- 5490A6
- 6A9DB1
- 7FABBC
- 94B9C7
- A9C6D2
- BFD4DD
- D4E2E8
- E9F1F4
Shades
- 19657D
- 14556A
- 0F4657
- 0A3745
- 062934
- 031C24
- 010F15
- 000507
- 000101
Tones
- 2F768F
- 3C788D
- 46798C
- 507A8A
- 597B89
- 617C87
- 697D85
- 717E84
- 797F82
Color harmonies
Complementary +180°
- 1F7590
Celestial
- 95593F
≈ Coconut
Analogous -30° +30°
- 1F7590
Celestial
- 077A79
≈ Buzzards Bay
- 456D9C
≈ San Marino
Triadic +120° +240°
- 1F7590
Celestial
- 8E5577
≈ Queen’s Honour
- 736D29
≈ Aged Mustard Green
Split-complementary +150° +210°
- 1F7590
Celestial
- 96545B
≈ Mesa Red
- 89622A
≈ Kumera
Tetradic +90° +180° +270°
- 1F7590
Celestial
- 7D5B8E
≈ Ghostly Purple
- 95593F
≈ Coconut
- 55763F
≈ Mana Tree
Contrast & accessibility
Ag
AAOn white
WCAG 5.24:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.00:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--celestial: #1f7590;
--celestial-rgb: 31 117 144;
--celestial-oklch: oklch(0.525 0.088 223.8);
}
.element {
color: var(--celestial);
background-color: hsl(194 65% 34%);
border-color: oklch(0.525 0.088 223.8);
}Tailwind CSS v4
@theme {
--color-celestial: #1f7590;
--color-celestial-50: #dcfbff;
--color-celestial-100: #caefff;
--color-celestial-200: #adddf1;
--color-celestial-300: #86c1da;
--color-celestial-400: #60aac5;
--color-celestial-500: #3592b1;
--color-celestial-600: #2f7c96;
--color-celestial-700: #266378;
--color-celestial-800: #184958;
--color-celestial-900: #10333e;
--color-celestial-950: #021e27;
}SCSS
$celestial: #1f7590;
$celestial-rgb: 31, 117, 144;
$celestial-light: mix(#fff, $celestial, 20%);
$celestial-dark: mix(#000, $celestial, 20%);
.element {
color: $celestial;
box-shadow: 0 0 0 2px rgba($celestial, 0.35);
}