#2C4A8A#2C4A8A
#2C4A8A is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.112 H 263.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4A8A |
|---|---|
| RGB | rgb(44, 74, 138) |
| HSL | hsl(221, 52%, 36%) |
| HSV | hsv(221, 68%, 54%) |
| CMYK | cmyk(68.1%, 46.4%, 0%, 45.9%) |
| CIE-LAB | lab(32.41, 11.14, -39.03) |
| CIE-LCH | lch(32.41, 40.59, 285.92°) |
| OKLab | oklab(42.11% -0.0128 -0.1116) |
| OKLCH | oklch(42.11% 0.112 263.4) |
| XYZ | xyz(8.0733, 7.2672, 25.0171) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.74
Dusk Blue
#26538D
ΔE00 3.91
Darkish Blue
#014182
ΔE00 4.30
Twilight Blue
#0A437A
ΔE00 4.64
Cobalt
#0047AB
ΔE00 4.87
Light Navy
#155084
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4A8A #8A6C2C
analogous
#2C798A #2C4A8A #3D2C8A
triadic
#2C4A8A #8A2C4A #4A8A2C
tetradic
#2C4A8A #8A2C79 #8A6C2C #2C8A3D
square
#2C4A8A #8A2C79 #8A6C2C #2C8A3D
split-complementary
#2C4A8A #8A3D2C #798A2C
monochromatic
#0E182D #1D315C #2C4A8A #3B63B8 #6385CD
Accessibility & contrast
On white
8.56
#2C4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2C4A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4A8A
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4A8A | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#1A4889
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c4a8a; /* rgb */ color: rgb(44, 74, 138); /* oklch */ color: oklch(42.1% 0.112 263.4);
Tailwind
colors: {
custom: {
50: '#707cac',
500: '#2c4a8a',
950: '#000000',
},
}SCSS
$custom: #2c4a8a; $custom-light: #707cac; $custom-dark: #000000;
JSON
{
"hex": "#2c4a8a",
"rgb": {
"r": 44,
"g": 74,
"b": 138
},
"hsl": {
"h": 220.851,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.42105,
"c": 0.11232,
"h": 263.4
},
"luminance": 0.07268
}Semantic roles & 50–950 ramp
primary
#2C4A8A
secondary
#B4985E
accent
#AE4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F