#2C4284#2C4284
#2C4284 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.114 H 267.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4284 |
|---|---|
| RGB | rgb(44, 66, 132) |
| HSL | hsl(225, 50%, 35%) |
| HSV | hsv(225, 67%, 52%) |
| CMYK | cmyk(66.7%, 50%, 0%, 48.2%) |
| CIE-LAB | lab(29.66, 14.28, -39.74) |
| CIE-LCH | lch(29.66, 42.23, 289.76°) |
| OKLab | oklab(39.87% -0.0055 -0.1138) |
| OKLCH | oklch(39.87% 0.114 267.2) |
| XYZ | xyz(7.1503, 6.0972, 22.6254) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.53
Darkish Blue
#014182
ΔE00 4.53
Twilight Blue
#0A437A
ΔE00 5.23
Blueberry
#464196
ΔE00 6.03
Cobalt
#0047AB
ΔE00 6.04
Marine Blue
#01386A
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4284 #846E2C
analogous
#2C6E84 #2C4284 #422C84
triadic
#2C4284 #842C42 #42842C
tetradic
#2C4284 #842C6E #846E2C #2C8442
square
#2C4284 #842C6E #846E2C #2C8442
split-complementary
#2C4284 #84422C #6E842C
monochromatic
#0D1428 #1D2B56 #2C4284 #3B59B2 #607BCA
Accessibility & contrast
On white
9.46
#2C4284 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2C4284 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4284
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4284 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4284 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#0C4283
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c4284; /* rgb */ color: rgb(44, 66, 132); /* oklch */ color: oklch(39.9% 0.114 267.2);
Tailwind
colors: {
custom: {
50: '#6f76a8',
500: '#2c4284',
950: '#000000',
},
}SCSS
$custom: #2c4284; $custom-light: #6f76a8; $custom-dark: #000000;
JSON
{
"hex": "#2c4284",
"rgb": {
"r": 44,
"g": 66,
"b": 132
},
"hsl": {
"h": 225,
"s": 50,
"l": 34.51
},
"oklch": {
"l": 0.39872,
"c": 0.11393,
"h": 267.2
},
"luminance": 0.06098
}Semantic roles & 50–950 ramp
primary
#2C4284
secondary
#B09B5C
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F