#2B4274#2B4274
#2B4274 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.090 H 264.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4274 |
|---|---|
| RGB | rgb(43, 66, 116) |
| HSL | hsl(221, 46%, 31%) |
| HSV | hsv(221, 63%, 45%) |
| CMYK | cmyk(62.9%, 43.1%, 0%, 54.5%) |
| CIE-LAB | lab(28.57, 8.05, -31.47) |
| CIE-LCH | lch(28.57, 32.48, 284.34°) |
| OKLab | oklab(38.69% -0.0093 -0.0895) |
| OKLCH | oklch(38.69% 0.09 264) |
| XYZ | xyz(6.0958, 5.6705, 17.2929) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 4.49
Twilight Blue
#0A437A
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 4.66
Marine Blue
#01386A
ΔE00 5.13
Prussian Blue
#004577
ΔE00 5.90
Marine
#042E60
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4274 #745D2B
analogous
#2B6674 #2B4274 #382B74
triadic
#2B4274 #742B42 #42742B
tetradic
#2B4274 #742B66 #745D2B #2B7438
square
#2B4274 #742B66 #745D2B #2B7438
split-complementary
#2B4274 #74382B #66742B
monochromatic
#0A0F1B #1A2947 #2B4274 #3C5BA1 #5879C1
Accessibility & contrast
On white
9.84
#2B4274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2B4274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4274
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4274 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#224073
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b4274; /* rgb */ color: rgb(43, 66, 116); /* oklch */ color: oklch(38.7% 0.090 264.0);
Tailwind
colors: {
custom: {
50: '#6c769c',
500: '#2b4274',
950: '#000000',
},
}SCSS
$custom: #2b4274; $custom-light: #6c769c; $custom-dark: #000000;
JSON
{
"hex": "#2b4274",
"rgb": {
"r": 43,
"g": 66,
"b": 116
},
"hsl": {
"h": 221.096,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.38686,
"c": 0.09002,
"h": 264
},
"luminance": 0.05671
}Semantic roles & 50–950 ramp
primary
#2B4274
secondary
#A68C55
accent
#AC52D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E