#2B4FAB#2B4FAB
#2B4FAB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.153 H 264.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FAB |
|---|---|
| RGB | rgb(43, 79, 171) |
| HSL | hsl(223, 60%, 42%) |
| HSV | hsv(223, 75%, 67%) |
| CMYK | cmyk(74.9%, 53.8%, 0%, 32.9%) |
| CIE-LAB | lab(36.07, 20.25, -53.08) |
| CIE-LCH | lch(36.07, 56.81, 290.89°) |
| OKLab | oklab(45.61% -0.0139 -0.1529) |
| OKLCH | oklch(45.61% 0.153 264.8) |
| XYZ | xyz(11.1403, 9.0446, 39.6788) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.66
Cobalt
#0047AB
ΔE00 3.06
Cobalt (survey)
#1E488F
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 5.04
Denim Blue
#3B5B92
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FAB #AB872B
analogous
#2B8FAB #2B4FAB #472BAB
triadic
#2B4FAB #AB2B4F #4FAB2B
tetradic
#2B4FAB #AB2B8F #AB872B #2BAB47
square
#2B4FAB #AB2B8F #AB872B #2BAB47
split-complementary
#2B4FAB #AB472B #8FAB2B
monochromatic
#122249 #1F387A #2B4FAB #436BD0 #7491DC
Accessibility & contrast
On white
7.48
#2B4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2B4FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FAB
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FAB | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085BAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4fab; /* rgb */ color: rgb(43, 79, 171); /* oklch */ color: oklch(45.6% 0.153 264.8);
Tailwind
colors: {
custom: {
50: '#777fc5',
500: '#2b4fab',
950: '#000000',
},
}SCSS
$custom: #2b4fab; $custom-light: #777fc5; $custom-dark: #000000;
JSON
{
"hex": "#2b4fab",
"rgb": {
"r": 43,
"g": 79,
"b": 171
},
"hsl": {
"h": 223.125,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.45613,
"c": 0.15348,
"h": 264.8
},
"luminance": 0.09046
}Semantic roles & 50–950 ramp
primary
#2B4FAB
secondary
#C4AC6E
accent
#B645E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82