#2B4EAF#2B4EAF
#2B4EAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.160 H 265.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EAF |
|---|---|
| RGB | rgb(43, 78, 175) |
| HSL | hsl(224, 61%, 43%) |
| HSV | hsv(224, 75%, 69%) |
| CMYK | cmyk(75.4%, 55.4%, 0%, 31.4%) |
| CIE-LAB | lab(36.09, 22.45, -55.42) |
| CIE-LCH | lch(36.09, 59.79, 292.05°) |
| OKLab | oklab(45.72% -0.0128 -0.1597) |
| OKLCH | oklch(45.72% 0.16 265.4) |
| XYZ | xyz(11.4558, 9.0563, 41.6934) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.72
Cobalt
#0047AB
ΔE00 3.03
Cobalt (survey)
#1E488F
ΔE00 5.02
Blue Blue
#2242C7
ΔE00 5.24
Dusk Blue
#26538D
ΔE00 5.71
Denim Blue
#3B5B92
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EAF #AF8C2B
analogous
#2B90AF #2B4EAF #4A2BAF
triadic
#2B4EAF #AF2B4E #4EAF2B
tetradic
#2B4EAF #AF2B90 #AF8C2B #2BAF4A
square
#2B4EAF #AF2B90 #AF8C2B #2BAF4A
split-complementary
#2B4EAF #AF4A2B #90AF2B
monochromatic
#13224D #1F387E #2B4EAF #466BD1 #7792DE
Accessibility & contrast
On white
7.47
#2B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2B4EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EAF
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EAF | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4eaf; /* rgb */ color: rgb(43, 78, 175); /* oklch */ color: oklch(45.7% 0.160 265.4);
Tailwind
colors: {
custom: {
50: '#787fc8',
500: '#2b4eaf',
950: '#000000',
},
}SCSS
$custom: #2b4eaf; $custom-light: #787fc8; $custom-dark: #000000;
JSON
{
"hex": "#2b4eaf",
"rgb": {
"r": 43,
"g": 78,
"b": 175
},
"hsl": {
"h": 224.091,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.45723,
"c": 0.16025,
"h": 265.4
},
"luminance": 0.09058
}Semantic roles & 50–950 ramp
primary
#2B4EAF
secondary
#C5AF70
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82