#2F5F9E#2F5F9E
#2F5F9E is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.4% C 0.114 H 256.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5F9E |
|---|---|
| RGB | rgb(47, 95, 158) |
| HSL | hsl(214, 54%, 40%) |
| HSV | hsv(214, 70%, 62%) |
| CMYK | cmyk(70.3%, 39.9%, 0%, 38%) |
| CIE-LAB | lab(40.01, 5.41, -39.00) |
| CIE-LCH | lch(40.01, 39.37, 277.89°) |
| OKLab | oklab(48.41% -0.0274 -0.1111) |
| OKLCH | oklch(48.41% 0.114 256.1) |
| XYZ | xyz(11.4338, 11.2562, 33.9112) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.00
Denim (survey)
#3B638C
ΔE00 3.10
Light Navy Blue
#2E5A88
ΔE00 3.17
Denim
#1560BD
ΔE00 3.37
Dusk Blue
#26538D
ΔE00 4.34
Dusky Blue
#475F94
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5F9E #9E6E2F
analogous
#2F969E #2F5F9E #372F9E
triadic
#2F5F9E #9E2F5F #5F9E2F
tetradic
#2F5F9E #9E2F96 #9E6E2F #2F9E37
square
#2F5F9E #9E2F96 #9E6E2F #2F9E37
split-complementary
#2F5F9E #9E372F #969E2F
monochromatic
#132640 #21436F #2F5F9E #437CC7 #729DD5
Accessibility & contrast
On white
6.46
#2F5F9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2F5F9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5F9E
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5F9E | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#315A9D
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5f9e; /* rgb */ color: rgb(47, 95, 158); /* oklch */ color: oklch(48.4% 0.114 256.1);
Tailwind
colors: {
custom: {
50: '#758cbb',
500: '#2f5f9e',
950: '#000000',
},
}SCSS
$custom: #2f5f9e; $custom-light: #758cbb; $custom-dark: #000000;
JSON
{
"hex": "#2f5f9e",
"rgb": {
"r": 47,
"g": 95,
"b": 158
},
"hsl": {
"h": 214.054,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.48413,
"c": 0.11445,
"h": 256.1
},
"luminance": 0.11257
}Semantic roles & 50–950 ramp
primary
#2F5F9E
secondary
#BD9A6C
accent
#9E4ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81