#2B4FAC#2B4FAC
#2B4FAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.155 H 264.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FAC |
|---|---|
| RGB | rgb(43, 79, 172) |
| HSL | hsl(223, 60%, 42%) |
| HSV | hsv(223, 75%, 67%) |
| CMYK | cmyk(75%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(36.14, 20.64, -53.55) |
| CIE-LCH | lch(36.14, 57.39, 291.07°) |
| OKLab | oklab(45.69% -0.0138 -0.1542) |
| OKLCH | oklch(45.69% 0.155 264.9) |
| XYZ | xyz(11.2360, 9.0829, 40.1827) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.60
Cobalt
#0047AB
ΔE00 3.08
Cobalt (survey)
#1E488F
ΔE00 4.66
Dusk Blue
#26538D
ΔE00 5.16
Denim Blue
#3B5B92
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FAC #AC882B
analogous
#2B90AC #2B4FAC #482BAC
triadic
#2B4FAC #AC2B4F #4FAC2B
tetradic
#2B4FAC #AC2B90 #AC882B #2BAC48
square
#2B4FAC #AC2B90 #AC882B #2BAC48
split-complementary
#2B4FAC #AC482B #90AC2B
monochromatic
#13224A #1F397B #2B4FAC #446BD0 #7592DC
Accessibility & contrast
On white
7.46
#2B4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2B4FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FAC
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FAC | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4fac; /* rgb */ color: rgb(43, 79, 172); /* oklch */ color: oklch(45.7% 0.155 264.9);
Tailwind
colors: {
custom: {
50: '#777fc5',
500: '#2b4fac',
950: '#000000',
},
}SCSS
$custom: #2b4fac; $custom-light: #777fc5; $custom-dark: #000000;
JSON
{
"hex": "#2b4fac",
"rgb": {
"r": 43,
"g": 79,
"b": 172
},
"hsl": {
"h": 223.256,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.45691,
"c": 0.15487,
"h": 264.9
},
"luminance": 0.09084
}Semantic roles & 50–950 ramp
primary
#2B4FAC
secondary
#C4AC6F
accent
#B745E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82