#2B4BAF#2B4BAF
#2B4BAF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.164 H 266.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BAF |
|---|---|
| RGB | rgb(43, 75, 175) |
| HSL | hsl(225, 61%, 43%) |
| HSV | hsv(225, 75%, 69%) |
| CMYK | cmyk(75.4%, 57.1%, 0%, 31.4%) |
| CIE-LAB | lab(35.28, 24.44, -56.74) |
| CIE-LCH | lch(35.28, 61.78, 293.30°) |
| OKLab | oklab(45.11% -0.0105 -0.1637) |
| OKLCH | oklch(45.11% 0.164 266.3) |
| XYZ | xyz(11.2475, 8.6397, 41.6240) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 5.10
Sapphire (survey)
#2138AB
ΔE00 5.85
Dusk Blue
#26538D
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BAF #AF8F2B
analogous
#2B8DAF #2B4BAF #4D2BAF
triadic
#2B4BAF #AF2B4B #4BAF2B
tetradic
#2B4BAF #AF2B8D #AF8F2B #2BAF4D
square
#2B4BAF #AF2B8D #AF8F2B #2BAF4D
split-complementary
#2B4BAF #AF4D2B #8DAF2B
monochromatic
#13214D #1F367E #2B4BAF #4668D1 #7790DE
Accessibility & contrast
On white
7.70
#2B4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2B4BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BAF
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BAF | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4baf; /* rgb */ color: rgb(43, 75, 175); /* oklch */ color: oklch(45.1% 0.164 266.3);
Tailwind
colors: {
custom: {
50: '#787cc8',
500: '#2b4baf',
950: '#000000',
},
}SCSS
$custom: #2b4baf; $custom-light: #787cc8; $custom-dark: #000000;
JSON
{
"hex": "#2b4baf",
"rgb": {
"r": 43,
"g": 75,
"b": 175
},
"hsl": {
"h": 225.455,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.45113,
"c": 0.16401,
"h": 266.3
},
"luminance": 0.08641
}Semantic roles & 50–950 ramp
primary
#2B4BAF
secondary
#C5B170
accent
#BD44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82