#2C4281#2C4281
#2C4281 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.109 H 266.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4281 |
|---|---|
| RGB | rgb(44, 66, 129) |
| HSL | hsl(224, 49%, 34%) |
| HSV | hsv(224, 66%, 51%) |
| CMYK | cmyk(65.9%, 48.8%, 0%, 49.4%) |
| CIE-LAB | lab(29.45, 13.14, -38.20) |
| CIE-LCH | lch(29.45, 40.40, 288.98°) |
| OKLab | oklab(39.65% -0.0059 -0.1093) |
| OKLCH | oklch(39.65% 0.109 266.9) |
| XYZ | xyz(6.9480, 6.0163, 21.5597) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.67
Darkish Blue
#014182
ΔE00 4.46
Twilight Blue
#0A437A
ΔE00 5.06
Marine Blue
#01386A
ΔE00 6.09
Blueberry
#464196
ΔE00 6.36
Cobalt
#0047AB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4281 #816B2C
analogous
#2C6D81 #2C4281 #412C81
triadic
#2C4281 #812C42 #42812C
tetradic
#2C4281 #812C6D #816B2C #2C8141
square
#2C4281 #812C6D #816B2C #2C8141
split-complementary
#2C4281 #81412C #6D812C
monochromatic
#0D1326 #1C2B53 #2C4281 #3C59AF #5F7AC8
Accessibility & contrast
On white
9.53
#2C4281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2C4281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4281
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4281 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#124280
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c4281; /* rgb */ color: rgb(44, 66, 129); /* oklch */ color: oklch(39.7% 0.109 266.9);
Tailwind
colors: {
custom: {
50: '#6f76a6',
500: '#2c4281',
950: '#000000',
},
}SCSS
$custom: #2c4281; $custom-light: #6f76a6; $custom-dark: #000000;
JSON
{
"hex": "#2c4281",
"rgb": {
"r": 44,
"g": 66,
"b": 129
},
"hsl": {
"h": 224.471,
"s": 49.133,
"l": 33.922
},
"oklch": {
"l": 0.39652,
"c": 0.10943,
"h": 266.9
},
"luminance": 0.06017
}Semantic roles & 50–950 ramp
primary
#2C4281
secondary
#AF995A
accent
#B54FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F