#2F4B95#2F4B95
#2F4B95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.126 H 265.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4B95 |
|---|---|
| RGB | rgb(47, 75, 149) |
| HSL | hsl(224, 52%, 38%) |
| HSV | hsv(224, 68%, 58%) |
| CMYK | cmyk(68.5%, 49.7%, 0%, 41.6%) |
| CIE-LAB | lab(33.57, 15.15, -43.87) |
| CIE-LCH | lch(33.57, 46.42, 289.05°) |
| OKLab | oklab(43.27% -0.0093 -0.1257) |
| OKLCH | oklch(43.27% 0.126 265.8) |
| XYZ | xyz(9.1113, 7.8055, 29.4544) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.40
Cobalt
#0047AB
ΔE00 3.93
Dusk Blue
#26538D
ΔE00 4.39
Denim Blue
#3B5B92
ΔE00 5.42
Darkish Blue
#014182
ΔE00 5.43
Sapphire
#0F52BA
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4B95 #95792F
analogous
#2F7E95 #2F4B95 #462F95
triadic
#2F4B95 #952F4B #4B952F
tetradic
#2F4B95 #952F7E #95792F #2F9546
square
#2F4B95 #952F7E #95792F #2F9546
split-complementary
#2F4B95 #95462F #7E952F
monochromatic
#121C38 #203466 #2F4B95 #3F63C2 #6D89D1
Accessibility & contrast
On white
8.20
#2F4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2F4B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4B95
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4B95 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#084B93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4b95; /* rgb */ color: rgb(47, 75, 149); /* oklch */ color: oklch(43.3% 0.126 265.8);
Tailwind
colors: {
custom: {
50: '#747cb5',
500: '#2f4b95',
950: '#000000',
},
}SCSS
$custom: #2f4b95; $custom-light: #747cb5; $custom-dark: #000000;
JSON
{
"hex": "#2f4b95",
"rgb": {
"r": 47,
"g": 75,
"b": 149
},
"hsl": {
"h": 223.529,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.43272,
"c": 0.12609,
"h": 265.8
},
"luminance": 0.07806
}Semantic roles & 50–950 ramp
primary
#2F4B95
secondary
#B8A267
accent
#B44CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80