#2B4A8A#2B4A8A
#2B4A8A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.113 H 263.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4A8A |
|---|---|
| RGB | rgb(43, 74, 138) |
| HSL | hsl(220, 52%, 35%) |
| HSV | hsv(220, 69%, 54%) |
| CMYK | cmyk(68.8%, 46.4%, 0%, 45.9%) |
| CIE-LAB | lab(32.36, 10.96, -39.12) |
| CIE-LCH | lch(32.36, 40.62, 285.65°) |
| OKLab | oklab(42.05% -0.0137 -0.1118) |
| OKLCH | oklch(42.05% 0.113 263) |
| XYZ | xyz(8.0309, 7.2453, 25.0151) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.60
Dusk Blue
#26538D
ΔE00 3.80
Darkish Blue
#014182
ΔE00 4.18
Twilight Blue
#0A437A
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.80
Light Navy
#155084
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4A8A #8A6B2B
analogous
#2B798A #2B4A8A #3B2B8A
triadic
#2B4A8A #8A2B4A #4A8A2B
tetradic
#2B4A8A #8A2B79 #8A6B2B #2B8A3B
square
#2B4A8A #8A2B79 #8A6B2B #2B8A3B
split-complementary
#2B4A8A #8A3B2B #798A2B
monochromatic
#0E182D #1C315B #2B4A8A #3A63B9 #6185CE
Accessibility & contrast
On white
8.57
#2B4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2B4A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4A8A
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4A8A | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b4a8a; /* rgb */ color: rgb(43, 74, 138); /* oklch */ color: oklch(42.1% 0.113 263.0);
Tailwind
colors: {
custom: {
50: '#707cac',
500: '#2b4a8a',
950: '#000000',
},
}SCSS
$custom: #2b4a8a; $custom-light: #707cac; $custom-dark: #000000;
JSON
{
"hex": "#2b4a8a",
"rgb": {
"r": 43,
"g": 74,
"b": 138
},
"hsl": {
"h": 220.421,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.42054,
"c": 0.11269,
"h": 263
},
"luminance": 0.07246
}Semantic roles & 50–950 ramp
primary
#2B4A8A
secondary
#B4985D
accent
#AD4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F