#2C4095#2C4095
#2C4095 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.141 H 269.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4095 |
|---|---|
| RGB | rgb(44, 64, 149) |
| HSL | hsl(229, 54%, 38%) |
| HSV | hsv(229, 70%, 58%) |
| CMYK | cmyk(70.5%, 57%, 0%, 41.6%) |
| CIE-LAB | lab(30.33, 22.08, -49.12) |
| CIE-LCH | lch(30.33, 53.86, 294.21°) |
| OKLab | oklab(40.78% -0.002 -0.1414) |
| OKLCH | oklch(40.78% 0.141 269.2) |
| XYZ | xyz(8.2951, 6.3714, 29.2206) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.36
Blueberry
#464196
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 4.49
Cobalt
#0047AB
ΔE00 4.73
Darkslateblue
#483D8B
ΔE00 5.84
Darkish Blue
#014182
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4095 #95812C
analogous
#2C7595 #2C4095 #4C2C95
triadic
#2C4095 #952C40 #40952C
tetradic
#2C4095 #952C75 #95812C #2C954C
square
#2C4095 #952C75 #95812C #2C954C
split-complementary
#2C4095 #954C2C #75952C
monochromatic
#101737 #1E2C66 #2C4095 #3A54C4 #697DD3
Accessibility & contrast
On white
9.23
#2C4095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2C4095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4095
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4095 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c4095; /* rgb */ color: rgb(44, 64, 149); /* oklch */ color: oklch(40.8% 0.141 269.2);
Tailwind
colors: {
custom: {
50: '#7374b5',
500: '#2c4095',
950: '#000000',
},
}SCSS
$custom: #2c4095; $custom-light: #7374b5; $custom-dark: #000000;
JSON
{
"hex": "#2c4095",
"rgb": {
"r": 44,
"g": 64,
"b": 149
},
"hsl": {
"h": 228.571,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.40776,
"c": 0.14144,
"h": 269.2
},
"luminance": 0.06372
}Semantic roles & 50–950 ramp
primary
#2C4095
secondary
#B9A964
accent
#C24ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80