#2C4D95#2C4D95
#2C4D95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.125 H 263.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4D95 |
|---|---|
| RGB | rgb(44, 77, 149) |
| HSL | hsl(221, 54%, 38%) |
| HSV | hsv(221, 70%, 58%) |
| CMYK | cmyk(70.5%, 48.3%, 0%, 41.6%) |
| CIE-LAB | lab(34.01, 13.31, -43.19) |
| CIE-LCH | lch(34.01, 45.19, 287.14°) |
| OKLab | oklab(43.56% -0.014 -0.1237) |
| OKLCH | oklch(43.56% 0.125 263.6) |
| XYZ | xyz(9.1155, 8.0122, 29.4941) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.12
Dusk Blue
#26538D
ΔE00 3.39
Cobalt
#0047AB
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 4.72
Sapphire
#0F52BA
ΔE00 5.03
Light Navy
#155084
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4D95 #95742C
analogous
#2C8195 #2C4D95 #402C95
triadic
#2C4D95 #952C4D #4D952C
tetradic
#2C4D95 #952C81 #95742C #2C9540
square
#2C4D95 #952C81 #95742C #2C9540
split-complementary
#2C4D95 #95402C #81952C
monochromatic
#101C37 #1E3566 #2C4D95 #3A65C4 #698AD3
Accessibility & contrast
On white
8.07
#2C4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2C4D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4D95
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4D95 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#0F4B94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c4d95; /* rgb */ color: rgb(44, 77, 149); /* oklch */ color: oklch(43.6% 0.125 263.6);
Tailwind
colors: {
custom: {
50: '#727eb5',
500: '#2c4d95',
950: '#000000',
},
}SCSS
$custom: #2c4d95; $custom-light: #727eb5; $custom-dark: #000000;
JSON
{
"hex": "#2c4d95",
"rgb": {
"r": 44,
"g": 77,
"b": 149
},
"hsl": {
"h": 221.143,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.43564,
"c": 0.12453,
"h": 263.6
},
"luminance": 0.08013
}Semantic roles & 50–950 ramp
primary
#2C4D95
secondary
#B99E64
accent
#AF4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80