#2C4697#2C4697
#2C4697 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.136 H 267.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4697 |
|---|---|
| RGB | rgb(44, 70, 151) |
| HSL | hsl(225, 55%, 38%) |
| HSV | hsv(225, 71%, 59%) |
| CMYK | cmyk(70.9%, 53.6%, 0%, 40.8%) |
| CIE-LAB | lab(32.14, 18.79, -47.41) |
| CIE-LCH | lch(32.14, 50.99, 291.62°) |
| OKLab | oklab(42.19% -0.0072 -0.1363) |
| OKLCH | oklch(42.19% 0.136 267) |
| XYZ | xyz(8.8128, 7.1493, 30.1877) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.91
Cobalt
#0047AB
ΔE00 3.59
Darkish Blue
#014182
ΔE00 5.37
Blueberry
#464196
ΔE00 5.46
Sapphire (survey)
#2138AB
ΔE00 5.71
Dusk Blue
#26538D
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4697 #977D2C
analogous
#2C7B97 #2C4697 #482C97
triadic
#2C4697 #972C46 #46972C
tetradic
#2C4697 #972C7B #977D2C #2C9748
square
#2C4697 #972C7B #977D2C #2C9748
split-complementary
#2C4697 #97482C #7B972C
monochromatic
#101A38 #1E3068 #2C4697 #3A5CC6 #6A84D4
Accessibility & contrast
On white
8.64
#2C4697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2C4697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4697
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4697 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c4697; /* rgb */ color: rgb(44, 70, 151); /* oklch */ color: oklch(42.2% 0.136 267.0);
Tailwind
colors: {
custom: {
50: '#7379b6',
500: '#2c4697',
950: '#000000',
},
}SCSS
$custom: #2c4697; $custom-light: #7379b6; $custom-dark: #000000;
JSON
{
"hex": "#2c4697",
"rgb": {
"r": 44,
"g": 70,
"b": 151
},
"hsl": {
"h": 225.421,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.4219,
"c": 0.13647,
"h": 267
},
"luminance": 0.0715
}Semantic roles & 50–950 ramp
primary
#2C4697
secondary
#BAA565
accent
#BA4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80