#2C4089#2C4089
#2C4089 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.124 H 268.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4089 |
|---|---|
| RGB | rgb(44, 64, 137) |
| HSL | hsl(227, 51%, 35%) |
| HSV | hsv(227, 68%, 54%) |
| CMYK | cmyk(67.9%, 53.3%, 0%, 46.3%) |
| CIE-LAB | lab(29.43, 17.54, -43.20) |
| CIE-LCH | lch(29.43, 46.63, 292.10°) |
| OKLab | oklab(39.81% -0.0029 -0.124) |
| OKLCH | oklch(39.81% 0.124 268.7) |
| XYZ | xyz(7.3859, 6.0077, 24.4324) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Darkish Blue
#014182
ΔE00 5.12
Blueberry
#464196
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.00
Twilight Blue
#0A437A
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4089 #89752C
analogous
#2C6E89 #2C4089 #472C89
triadic
#2C4089 #892C40 #40892C
tetradic
#2C4089 #892C6E #89752C #2C8947
square
#2C4089 #892C6E #89752C #2C8947
split-complementary
#2C4089 #89472C #6E892C
monochromatic
#0E152C #1D2A5B #2C4089 #3B56B7 #6379CD
Accessibility & contrast
On white
9.54
#2C4089 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2C4089 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4089
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4089 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4089 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134A8C
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c4089; /* rgb */ color: rgb(44, 64, 137); /* oklch */ color: oklch(39.8% 0.124 268.7);
Tailwind
colors: {
custom: {
50: '#7074ac',
500: '#2c4089',
950: '#000000',
},
}SCSS
$custom: #2c4089; $custom-light: #7074ac; $custom-dark: #000000;
JSON
{
"hex": "#2c4089",
"rgb": {
"r": 44,
"g": 64,
"b": 137
},
"hsl": {
"h": 227.097,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.39814,
"c": 0.12404,
"h": 268.7
},
"luminance": 0.06008
}Semantic roles & 50–950 ramp
primary
#2C4089
secondary
#B3A15E
accent
#BC4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F