#2C4097#2C4097
#2C4097 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.144 H 269.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4097 |
|---|---|
| RGB | rgb(44, 64, 151) |
| HSL | hsl(229, 55%, 38%) |
| HSV | hsv(229, 71%, 59%) |
| CMYK | cmyk(70.9%, 57.6%, 0%, 40.8%) |
| CIE-LAB | lab(30.49, 22.84, -50.09) |
| CIE-LCH | lch(30.49, 55.05, 294.51°) |
| OKLab | oklab(40.94% -0.0019 -0.1443) |
| OKLCH | oklch(40.94% 0.144 269.2) |
| XYZ | xyz(8.4561, 6.4358, 30.0687) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Blueberry
#464196
ΔE00 4.37
Cobalt
#0047AB
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 5.87
Darkish Blue
#014182
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4097 #97832C
analogous
#2C7597 #2C4097 #4D2C97
triadic
#2C4097 #972C40 #40972C
tetradic
#2C4097 #972C75 #97832C #2C974D
square
#2C4097 #972C75 #97832C #2C974D
split-complementary
#2C4097 #974D2C #75972C
monochromatic
#101838 #1E2C68 #2C4097 #3A54C6 #6A7ED4
Accessibility & contrast
On white
9.18
#2C4097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2C4097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4097
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4097 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c4097; /* rgb */ color: rgb(44, 64, 151); /* oklch */ color: oklch(40.9% 0.144 269.2);
Tailwind
colors: {
custom: {
50: '#7374b6',
500: '#2c4097',
950: '#000000',
},
}SCSS
$custom: #2c4097; $custom-light: #7374b6; $custom-dark: #000000;
JSON
{
"hex": "#2c4097",
"rgb": {
"r": 44,
"g": 64,
"b": 151
},
"hsl": {
"h": 228.785,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.40942,
"c": 0.14429,
"h": 269.2
},
"luminance": 0.06437
}Semantic roles & 50–950 ramp
primary
#2C4097
secondary
#BAAA65
accent
#C24ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80