#2C4F95#2C4F95
#2C4F95 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.122 H 262.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4F95 |
|---|---|
| RGB | rgb(44, 79, 149) |
| HSL | hsl(220, 54%, 38%) |
| HSV | hsv(220, 70%, 58%) |
| CMYK | cmyk(70.5%, 47%, 0%, 41.6%) |
| CIE-LAB | lab(34.59, 11.98, -42.25) |
| CIE-LCH | lch(34.59, 43.91, 285.83°) |
| OKLab | oklab(44.01% -0.0159 -0.1209) |
| OKLCH | oklch(44.01% 0.122 262.5) |
| XYZ | xyz(9.2576, 8.2964, 29.5414) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.47
Dusk Blue
#26538D
ΔE00 2.75
Denim Blue
#3B5B92
ΔE00 4.08
Cobalt
#0047AB
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.80
Light Navy
#155084
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4F95 #95722C
analogous
#2C8395 #2C4F95 #3D2C95
triadic
#2C4F95 #952C4F #4F952C
tetradic
#2C4F95 #952C83 #95722C #2C953D
square
#2C4F95 #952C83 #95722C #2C953D
split-complementary
#2C4F95 #953D2C #83952C
monochromatic
#101D37 #1E3666 #2C4F95 #3A68C4 #698CD3
Accessibility & contrast
On white
7.90
#2C4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2C4F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4F95
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4F95 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5798
Deuteranopia (green-blind)
#164D94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c4f95; /* rgb */ color: rgb(44, 79, 149); /* oklch */ color: oklch(44.0% 0.122 262.5);
Tailwind
colors: {
custom: {
50: '#727fb5',
500: '#2c4f95',
950: '#000000',
},
}SCSS
$custom: #2c4f95; $custom-light: #727fb5; $custom-dark: #000000;
JSON
{
"hex": "#2c4f95",
"rgb": {
"r": 44,
"g": 79,
"b": 149
},
"hsl": {
"h": 220,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.44012,
"c": 0.12199,
"h": 262.5
},
"luminance": 0.08297
}Semantic roles & 50–950 ramp
primary
#2C4F95
secondary
#B99D64
accent
#AD4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80