#2F5F8E#2F5F8E
#2F5F8E is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.093 H 249.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5F8E |
|---|---|
| RGB | rgb(47, 95, 142) |
| HSL | hsl(210, 50%, 37%) |
| HSV | hsv(210, 67%, 56%) |
| CMYK | cmyk(66.9%, 33.1%, 0%, 44.3%) |
| CIE-LAB | lab(39.14, -0.49, -30.77) |
| CIE-LCH | lch(39.14, 30.78, 269.08°) |
| OKLab | oklab(47.45% -0.0318 -0.0871) |
| OKLCH | oklch(47.45% 0.093 249.9) |
| XYZ | xyz(10.1452, 10.7407, 27.1245) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.83
Denim (survey)
#3B638C
ΔE00 1.95
Denim Blue
#3B5B92
ΔE00 3.85
Ugly Blue
#31668A
ΔE00 4.09
Dusk Blue
#26538D
ΔE00 4.34
Denim
#1560BD
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5F8E #8E5E2F
analogous
#2F8E8E #2F5F8E #2F308E
triadic
#2F5F8E #8E2F5F #5F8E2F
tetradic
#2F5F8E #8E2F8E #8E5E2F #308E2F
square
#2F5F8E #8E2F8E #8E5E2F #308E2F
split-complementary
#2F5F8E #8E2F30 #8E8E2F
monochromatic
#112132 #204060 #2F5F8E #3E7EBC #6A9CCE
Accessibility & contrast
On white
6.67
#2F5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2F5F8E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5F8E
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5F8E | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f5f8e; /* rgb */ color: rgb(47, 95, 142); /* oklch */ color: oklch(47.4% 0.093 249.9);
Tailwind
colors: {
custom: {
50: '#728caf',
500: '#2f5f8e',
950: '#000000',
},
}SCSS
$custom: #2f5f8e; $custom-light: #728caf; $custom-dark: #000000;
JSON
{
"hex": "#2f5f8e",
"rgb": {
"r": 47,
"g": 95,
"b": 142
},
"hsl": {
"h": 209.684,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.4745,
"c": 0.09268,
"h": 249.9
},
"luminance": 0.10742
}Semantic roles & 50–950 ramp
primary
#2F5F8E
secondary
#B58C64
accent
#934EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F