#2C5296#2C5296
#2C5296 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.120 H 261.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5296 |
|---|---|
| RGB | rgb(44, 82, 150) |
| HSL | hsl(218, 55%, 38%) |
| HSV | hsv(218, 71%, 59%) |
| CMYK | cmyk(70.7%, 45.3%, 0%, 41.2%) |
| CIE-LAB | lab(35.54, 10.37, -41.33) |
| CIE-LCH | lch(35.54, 42.61, 284.08°) |
| OKLab | oklab(44.76% -0.0186 -0.1182) |
| OKLCH | oklch(44.76% 0.12 261) |
| XYZ | xyz(9.5591, 8.7711, 30.0375) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.02
Denim Blue
#3B5B92
ΔE00 3.23
Cobalt (survey)
#1E488F
ΔE00 3.29
Light Navy Blue
#2E5A88
ΔE00 4.07
Light Navy
#155084
ΔE00 4.42
Sapphire
#0F52BA
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5296 #96702C
analogous
#2C8796 #2C5296 #3B2C96
triadic
#2C5296 #962C52 #52962C
tetradic
#2C5296 #962C87 #96702C #2C963B
square
#2C5296 #962C87 #96702C #2C963B
split-complementary
#2C5296 #963B2C #87962C
monochromatic
#101E37 #1E3867 #2C5296 #3A6CC5 #698FD3
Accessibility & contrast
On white
7.62
#2C5296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2C5296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5296
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5296 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c5296; /* rgb */ color: rgb(44, 82, 150); /* oklch */ color: oklch(44.8% 0.120 261.0);
Tailwind
colors: {
custom: {
50: '#7282b5',
500: '#2c5296',
950: '#000000',
},
}SCSS
$custom: #2c5296; $custom-light: #7282b5; $custom-dark: #000000;
JSON
{
"hex": "#2c5296",
"rgb": {
"r": 44,
"g": 82,
"b": 150
},
"hsl": {
"h": 218.491,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.44762,
"c": 0.11968,
"h": 261
},
"luminance": 0.08772
}Semantic roles & 50–950 ramp
primary
#2C5296
secondary
#BA9B64
accent
#A94ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80