#2C4B8B#2C4B8B
#2C4B8B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.113 H 263.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4B8B |
|---|---|
| RGB | rgb(44, 75, 139) |
| HSL | hsl(220, 52%, 36%) |
| HSV | hsv(220, 68%, 55%) |
| CMYK | cmyk(68.3%, 46%, 0%, 45.5%) |
| CIE-LAB | lab(32.77, 10.84, -39.07) |
| CIE-LCH | lch(32.77, 40.55, 285.51°) |
| OKLab | oklab(42.4% -0.0137 -0.1117) |
| OKLCH | oklch(42.4% 0.113 263) |
| XYZ | xyz(8.2133, 7.4309, 25.4226) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.73
Dusk Blue
#26538D
ΔE00 3.57
Darkish Blue
#014182
ΔE00 4.43
Twilight Blue
#0A437A
ΔE00 4.72
Cobalt
#0047AB
ΔE00 4.79
Light Navy
#155084
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4B8B #8B6C2C
analogous
#2C7A8B #2C4B8B #3C2C8B
triadic
#2C4B8B #8B2C4B #4B8B2C
tetradic
#2C4B8B #8B2C7A #8B6C2C #2C8B3C
square
#2C4B8B #8B2C7A #8B6C2C #2C8B3C
split-complementary
#2C4B8B #8B3C2C #7A8B2C
monochromatic
#0F192E #1D325D #2C4B8B #3B64B9 #6486CE
Accessibility & contrast
On white
8.45
#2C4B8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2C4B8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4B8B
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4B8B | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c4b8b; /* rgb */ color: rgb(44, 75, 139); /* oklch */ color: oklch(42.4% 0.113 263.0);
Tailwind
colors: {
custom: {
50: '#707cad',
500: '#2c4b8b',
950: '#000000',
},
}SCSS
$custom: #2c4b8b; $custom-light: #707cad; $custom-dark: #000000;
JSON
{
"hex": "#2c4b8b",
"rgb": {
"r": 44,
"g": 75,
"b": 139
},
"hsl": {
"h": 220.421,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.42403,
"c": 0.11251,
"h": 263
},
"luminance": 0.07432
}Semantic roles & 50–950 ramp
primary
#2C4B8B
secondary
#B4985F
accent
#AD4CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F