#2F5F94#2F5F94
#2F5F94 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.101 H 252.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5F94 |
|---|---|
| RGB | rgb(47, 95, 148) |
| HSL | hsl(211, 52%, 38%) |
| HSV | hsv(211, 68%, 58%) |
| CMYK | cmyk(68.2%, 35.8%, 0%, 42%) |
| CIE-LAB | lab(39.46, 1.70, -33.89) |
| CIE-LCH | lch(39.46, 33.93, 272.87°) |
| OKLab | oklab(47.8% -0.03 -0.0962) |
| OKLCH | oklch(47.8% 0.101 252.7) |
| XYZ | xyz(10.6078, 10.9258, 29.5611) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.14
Denim (survey)
#3B638C
ΔE00 2.27
Denim Blue
#3B5B92
ΔE00 3.27
Dusk Blue
#26538D
ΔE00 4.12
Denim
#1560BD
ΔE00 4.37
Ugly Blue
#31668A
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5F94 #94642F
analogous
#2F9194 #2F5F94 #312F94
triadic
#2F5F94 #942F5F #5F942F
tetradic
#2F5F94 #942F91 #94642F #2F9431
square
#2F5F94 #942F91 #94642F #2F9431
split-complementary
#2F5F94 #94312F #91942F
monochromatic
#112337 #204166 #2F5F94 #3E7DC2 #6D9CD1
Accessibility & contrast
On white
6.59
#2F5F94 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2F5F94 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5F94
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5F94 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486296
Deuteranopia (green-blind)
#395993
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f5f94; /* rgb */ color: rgb(47, 95, 148); /* oklch */ color: oklch(47.8% 0.101 252.7);
Tailwind
colors: {
custom: {
50: '#738cb3',
500: '#2f5f94',
950: '#000000',
},
}SCSS
$custom: #2f5f94; $custom-light: #738cb3; $custom-dark: #000000;
JSON
{
"hex": "#2f5f94",
"rgb": {
"r": 47,
"g": 95,
"b": 148
},
"hsl": {
"h": 211.485,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.478,
"c": 0.10074,
"h": 252.7
},
"luminance": 0.10927
}Semantic roles & 50–950 ramp
primary
#2F5F94
secondary
#B89167
accent
#974DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80