#2F5195#2F5195
#2F5195 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.118 H 262.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5195 |
|---|---|
| RGB | rgb(47, 81, 149) |
| HSL | hsl(220, 52%, 38%) |
| HSV | hsv(220, 68%, 58%) |
| CMYK | cmyk(68.5%, 45.6%, 0%, 41.6%) |
| CIE-LAB | lab(35.32, 11.15, -41.08) |
| CIE-LCH | lch(35.32, 42.56, 285.19°) |
| OKLab | oklab(44.61% -0.0153 -0.1174) |
| OKLCH | oklch(44.61% 0.118 262.6) |
| XYZ | xyz(9.5376, 8.6582, 29.5965) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.56
Cobalt (survey)
#1E488F
ΔE00 3.10
Denim Blue
#3B5B92
ΔE00 3.43
Light Navy Blue
#2E5A88
ΔE00 4.57
Cobalt
#0047AB
ΔE00 4.67
Sapphire
#0F52BA
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5195 #95732F
analogous
#2F8495 #2F5195 #402F95
triadic
#2F5195 #952F51 #51952F
tetradic
#2F5195 #952F84 #95732F #2F9540
square
#2F5195 #952F84 #95732F #2F9540
split-complementary
#2F5195 #95402F #84952F
monochromatic
#121E38 #203866 #2F5195 #3F6BC2 #6D8FD1
Accessibility & contrast
On white
7.69
#2F5195 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2F5195 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5195
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5195 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5195 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f5195; /* rgb */ color: rgb(47, 81, 149); /* oklch */ color: oklch(44.6% 0.118 262.6);
Tailwind
colors: {
custom: {
50: '#7381b4',
500: '#2f5195',
950: '#000000',
},
}SCSS
$custom: #2f5195; $custom-light: #7381b4; $custom-dark: #000000;
JSON
{
"hex": "#2f5195",
"rgb": {
"r": 47,
"g": 81,
"b": 149
},
"hsl": {
"h": 220,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.44607,
"c": 0.11842,
"h": 262.6
},
"luminance": 0.08659
}Semantic roles & 50–950 ramp
primary
#2F5195
secondary
#B89D67
accent
#AC4CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80