#2F4CA2#2F4CA2
#2F4CA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.143 H 266.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CA2 |
|---|---|
| RGB | rgb(47, 76, 162) |
| HSL | hsl(225, 55%, 41%) |
| HSV | hsv(225, 71%, 64%) |
| CMYK | cmyk(71%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(34.76, 19.39, -49.81) |
| CIE-LCH | lch(34.76, 53.45, 291.27°) |
| OKLab | oklab(44.47% -0.0087 -0.1432) |
| OKLCH | oklch(44.47% 0.143 266.5) |
| XYZ | xyz(10.2760, 8.3808, 35.2515) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Cobalt (survey)
#1E488F
ΔE00 3.67
Sapphire
#0F52BA
ΔE00 4.18
Dusk Blue
#26538D
ΔE00 5.13
Denim Blue
#3B5B92
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CA2 #A2852F
analogous
#2F85A2 #2F4CA2 #4C2FA2
triadic
#2F4CA2 #A22F4C #4CA22F
tetradic
#2F4CA2 #A22F85 #A2852F #2FA24C
square
#2F4CA2 #A22F85 #A2852F #2FA24C
split-complementary
#2F4CA2 #A24C2F #85A22F
monochromatic
#131F43 #213673 #2F4CA2 #4566C9 #758DD7
Accessibility & contrast
On white
7.85
#2F4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2F4CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CA2
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CA2 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4ca2; /* rgb */ color: rgb(47, 76, 162); /* oklch */ color: oklch(44.5% 0.143 266.5);
Tailwind
colors: {
custom: {
50: '#767dbe',
500: '#2f4ca2',
950: '#000000',
},
}SCSS
$custom: #2f4ca2; $custom-light: #767dbe; $custom-dark: #000000;
JSON
{
"hex": "#2f4ca2",
"rgb": {
"r": 47,
"g": 76,
"b": 162
},
"hsl": {
"h": 224.87,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.44465,
"c": 0.14346,
"h": 266.5
},
"luminance": 0.08382
}Semantic roles & 50–950 ramp
primary
#2F4CA2
secondary
#BFAA6E
accent
#B949DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81