#2F5C9C#2F5C9C
#2F5C9C is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.6% C 0.115 H 257.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5C9C |
|---|---|
| RGB | rgb(47, 92, 156) |
| HSL | hsl(215, 54%, 40%) |
| HSV | hsv(215, 70%, 61%) |
| CMYK | cmyk(69.9%, 41%, 0%, 38.8%) |
| CIE-LAB | lab(39.00, 6.59, -39.41) |
| CIE-LCH | lch(39.00, 39.96, 279.49°) |
| OKLab | oklab(47.59% -0.0249 -0.1124) |
| OKLCH | oklch(47.59% 0.115 257.5) |
| XYZ | xyz(10.9980, 10.6578, 32.9236) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.27
Light Navy Blue
#2E5A88
ΔE00 2.83
Dusk Blue
#26538D
ΔE00 3.40
Denim (survey)
#3B638C
ΔE00 3.63
Denim
#1560BD
ΔE00 3.94
Dusky Blue
#475F94
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5C9C #9C6F2F
analogous
#2F939C #2F5C9C #382F9C
triadic
#2F5C9C #9C2F5C #5C9C2F
tetradic
#2F5C9C #9C2F93 #9C6F2F #2F9C38
square
#2F5C9C #9C2F93 #9C6F2F #2F9C38
split-complementary
#2F5C9C #9C382F #939C2F
monochromatic
#13253E #21406D #2F5C9C #4279C6 #719AD4
Accessibility & contrast
On white
6.71
#2F5C9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2F5C9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5C9C
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5C9C | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E619F
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f5c9c; /* rgb */ color: rgb(47, 92, 156); /* oklch */ color: oklch(47.6% 0.115 257.5);
Tailwind
colors: {
custom: {
50: '#7489b9',
500: '#2f5c9c',
950: '#000000',
},
}SCSS
$custom: #2f5c9c; $custom-light: #7489b9; $custom-dark: #000000;
JSON
{
"hex": "#2f5c9c",
"rgb": {
"r": 47,
"g": 92,
"b": 156
},
"hsl": {
"h": 215.229,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.4759,
"c": 0.1151,
"h": 257.5
},
"luminance": 0.10659
}Semantic roles & 50–950 ramp
primary
#2F5C9C
secondary
#BC9A6B
accent
#A14BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80