#2C4282#2C4282
#2C4282 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.111 H 267.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4282 |
|---|---|
| RGB | rgb(44, 66, 130) |
| HSL | hsl(225, 49%, 34%) |
| HSV | hsv(225, 66%, 51%) |
| CMYK | cmyk(66.2%, 49.2%, 0%, 49%) |
| CIE-LAB | lab(29.52, 13.52, -38.72) |
| CIE-LCH | lch(29.52, 41.01, 289.25°) |
| OKLab | oklab(39.73% -0.0058 -0.1108) |
| OKLCH | oklch(39.73% 0.111 267) |
| XYZ | xyz(7.0148, 6.0430, 21.9115) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.62
Darkish Blue
#014182
ΔE00 4.47
Twilight Blue
#0A437A
ΔE00 5.11
Marine Blue
#01386A
ΔE00 6.18
Blueberry
#464196
ΔE00 6.25
Cobalt
#0047AB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4282 #826C2C
analogous
#2C6D82 #2C4282 #412C82
triadic
#2C4282 #822C42 #42822C
tetradic
#2C4282 #822C6D #826C2C #2C8241
square
#2C4282 #822C6D #826C2C #2C8241
split-complementary
#2C4282 #82412C #6D822C
monochromatic
#0D1427 #1D2B54 #2C4282 #3B59B0 #5F7AC9
Accessibility & contrast
On white
9.51
#2C4282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2C4282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4282
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4282 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A84
Deuteranopia (green-blind)
#104281
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c4282; /* rgb */ color: rgb(44, 66, 130); /* oklch */ color: oklch(39.7% 0.111 267.0);
Tailwind
colors: {
custom: {
50: '#6f76a7',
500: '#2c4282',
950: '#000000',
},
}SCSS
$custom: #2c4282; $custom-light: #6f76a7; $custom-dark: #000000;
JSON
{
"hex": "#2c4282",
"rgb": {
"r": 44,
"g": 66,
"b": 130
},
"hsl": {
"h": 224.651,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.39725,
"c": 0.11094,
"h": 267
},
"luminance": 0.06044
}Semantic roles & 50–950 ramp
primary
#2C4282
secondary
#AF9A5B
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F