#2C4197#2C4197
#2C4197 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.143 H 268.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4197 |
|---|---|
| RGB | rgb(44, 65, 151) |
| HSL | hsl(228, 55%, 38%) |
| HSV | hsv(228, 71%, 59%) |
| CMYK | cmyk(70.9%, 57%, 0%, 40.8%) |
| CIE-LAB | lab(30.76, 22.16, -49.65) |
| CIE-LCH | lch(30.76, 54.37, 294.06°) |
| OKLab | oklab(41.15% -0.0028 -0.143) |
| OKLCH | oklch(41.15% 0.143 268.9) |
| XYZ | xyz(8.5130, 6.5496, 30.0877) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.31
Sapphire (survey)
#2138AB
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.39
Blueberry
#464196
ΔE00 4.49
Darkish Blue
#014182
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4197 #97822C
analogous
#2C7697 #2C4197 #4C2C97
triadic
#2C4197 #972C41 #41972C
tetradic
#2C4197 #972C76 #97822C #2C974C
square
#2C4197 #972C76 #97822C #2C974C
split-complementary
#2C4197 #974C2C #76972C
monochromatic
#101838 #1E2D68 #2C4197 #3A56C6 #6A7FD4
Accessibility & contrast
On white
9.09
#2C4197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2C4197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4197
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4197 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c4197; /* rgb */ color: rgb(44, 65, 151); /* oklch */ color: oklch(41.1% 0.143 268.9);
Tailwind
colors: {
custom: {
50: '#7375b6',
500: '#2c4197',
950: '#000000',
},
}SCSS
$custom: #2c4197; $custom-light: #7375b6; $custom-dark: #000000;
JSON
{
"hex": "#2c4197",
"rgb": {
"r": 44,
"g": 65,
"b": 151
},
"hsl": {
"h": 228.224,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.41146,
"c": 0.14299,
"h": 268.9
},
"luminance": 0.0655
}Semantic roles & 50–950 ramp
primary
#2C4197
secondary
#BAA965
accent
#C14ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80