#2F4BA2#2F4BA2
#2F4BA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.145 H 266.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BA2 |
|---|---|
| RGB | rgb(47, 75, 162) |
| HSL | hsl(225, 55%, 41%) |
| HSV | hsv(225, 71%, 64%) |
| CMYK | cmyk(71%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(34.49, 20.05, -50.26) |
| CIE-LCH | lch(34.49, 54.11, 291.75°) |
| OKLab | oklab(44.26% -0.0079 -0.1445) |
| OKLCH | oklch(44.26% 0.145 266.9) |
| XYZ | xyz(10.2077, 8.2441, 35.2287) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.03
Cobalt (survey)
#1E488F
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 5.41
Denim Blue
#3B5B92
ΔE00 6.00
Blue Blue
#2242C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BA2 #A2862F
analogous
#2F84A2 #2F4BA2 #4C2FA2
triadic
#2F4BA2 #A22F4B #4BA22F
tetradic
#2F4BA2 #A22F84 #A2862F #2FA24C
square
#2F4BA2 #A22F84 #A2862F #2FA24C
split-complementary
#2F4BA2 #A24C2F #84A22F
monochromatic
#131F43 #213573 #2F4BA2 #4565C9 #758CD7
Accessibility & contrast
On white
7.93
#2F4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2F4BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BA2
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BA2 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4ba2; /* rgb */ color: rgb(47, 75, 162); /* oklch */ color: oklch(44.3% 0.145 266.9);
Tailwind
colors: {
custom: {
50: '#767cbe',
500: '#2f4ba2',
950: '#000000',
},
}SCSS
$custom: #2f4ba2; $custom-light: #767cbe; $custom-dark: #000000;
JSON
{
"hex": "#2f4ba2",
"rgb": {
"r": 47,
"g": 75,
"b": 162
},
"hsl": {
"h": 225.391,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.44255,
"c": 0.14474,
"h": 266.9
},
"luminance": 0.08245
}Semantic roles & 50–950 ramp
primary
#2F4BA2
secondary
#BFAB6E
accent
#BA49DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81