#2B4FAF#2B4FAF
#2B4FAF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.159 H 265.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FAF |
|---|---|
| RGB | rgb(43, 79, 175) |
| HSL | hsl(224, 61%, 43%) |
| HSV | hsv(224, 75%, 69%) |
| CMYK | cmyk(75.4%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(36.37, 21.78, -54.98) |
| CIE-LCH | lch(36.37, 59.13, 291.61°) |
| OKLab | oklab(45.93% -0.0135 -0.1584) |
| OKLCH | oklch(45.93% 0.159 265.1) |
| XYZ | xyz(11.5274, 9.1994, 41.7173) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.49
Cobalt
#0047AB
ΔE00 3.18
Cobalt (survey)
#1E488F
ΔE00 5.04
Dusk Blue
#26538D
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.52
Denim Blue
#3B5B92
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FAF #AF8B2B
analogous
#2B91AF #2B4FAF #492BAF
triadic
#2B4FAF #AF2B4F #4FAF2B
tetradic
#2B4FAF #AF2B91 #AF8B2B #2BAF49
square
#2B4FAF #AF2B91 #AF8B2B #2BAF49
split-complementary
#2B4FAF #AF492B #91AF2B
monochromatic
#13234D #1F397E #2B4FAF #466CD1 #7793DE
Accessibility & contrast
On white
7.39
#2B4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2B4FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FAF
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FAF | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4faf; /* rgb */ color: rgb(43, 79, 175); /* oklch */ color: oklch(45.9% 0.159 265.1);
Tailwind
colors: {
custom: {
50: '#777fc8',
500: '#2b4faf',
950: '#000000',
},
}SCSS
$custom: #2b4faf; $custom-light: #777fc8; $custom-dark: #000000;
JSON
{
"hex": "#2b4faf",
"rgb": {
"r": 43,
"g": 79,
"b": 175
},
"hsl": {
"h": 223.636,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.45929,
"c": 0.159,
"h": 265.1
},
"luminance": 0.09201
}Semantic roles & 50–950 ramp
primary
#2B4FAF
secondary
#C5AE70
accent
#B844E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82