#2B4C8E#2B4C8E
#2B4C8E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.116 H 262.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4C8E |
|---|---|
| RGB | rgb(43, 76, 142) |
| HSL | hsl(220, 54%, 36%) |
| HSV | hsv(220, 70%, 56%) |
| CMYK | cmyk(69.7%, 46.5%, 0%, 44.3%) |
| CIE-LAB | lab(33.21, 11.15, -40.20) |
| CIE-LCH | lch(33.21, 41.72, 285.49°) |
| OKLab | oklab(42.79% -0.015 -0.115) |
| OKLCH | oklch(42.79% 0.116 262.6) |
| XYZ | xyz(8.4615, 7.6346, 26.6136) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Dusk Blue
#26538D
ΔE00 3.20
Cobalt
#0047AB
ΔE00 4.46
Darkish Blue
#014182
ΔE00 4.58
Light Navy
#155084
ΔE00 4.81
Twilight Blue
#0A437A
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4C8E #8E6D2B
analogous
#2B7E8E #2B4C8E #3C2B8E
triadic
#2B4C8E #8E2B4C #4C8E2B
tetradic
#2B4C8E #8E2B7E #8E6D2B #2B8E3C
square
#2B4C8E #8E2B7E #8E6D2B #2B8E3C
split-complementary
#2B4C8E #8E3C2B #7E8E2B
monochromatic
#0F1A30 #1D335F #2B4C8E #3965BD #6388D0
Accessibility & contrast
On white
8.31
#2B4C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2B4C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4C8E
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4C8E | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b4c8e; /* rgb */ color: rgb(43, 76, 142); /* oklch */ color: oklch(42.8% 0.116 262.6);
Tailwind
colors: {
custom: {
50: '#707daf',
500: '#2b4c8e',
950: '#000000',
},
}SCSS
$custom: #2b4c8e; $custom-light: #707daf; $custom-dark: #000000;
JSON
{
"hex": "#2b4c8e",
"rgb": {
"r": 43,
"g": 76,
"b": 142
},
"hsl": {
"h": 220,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.42792,
"c": 0.116,
"h": 262.6
},
"luminance": 0.07635
}Semantic roles & 50–950 ramp
primary
#2B4C8E
secondary
#B6995F
accent
#AC4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F