#2C3F89#2C3F89
#2C3F89 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.125 H 269.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F89 |
|---|---|
| RGB | rgb(44, 63, 137) |
| HSL | hsl(228, 51%, 35%) |
| HSV | hsv(228, 68%, 54%) |
| CMYK | cmyk(67.9%, 54%, 0%, 46.3%) |
| CIE-LAB | lab(29.15, 18.22, -43.66) |
| CIE-LCH | lch(29.15, 47.31, 292.65°) |
| OKLab | oklab(39.6% -0.0019 -0.1254) |
| OKLCH | oklch(39.6% 0.125 269.1) |
| XYZ | xyz(7.3300, 5.8959, 24.4138) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.38
Blueberry
#464196
ΔE00 5.03
Darkish Blue
#014182
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 5.80
Sapphire (survey)
#2138AB
ΔE00 5.92
Cobalt
#0047AB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F89 #89762C
analogous
#2C6D89 #2C3F89 #472C89
triadic
#2C3F89 #892C3F #3F892C
tetradic
#2C3F89 #892C6D #89762C #2C8947
square
#2C3F89 #892C6D #89762C #2C8947
split-complementary
#2C3F89 #89472C #6D892C
monochromatic
#0E142C #1D2A5B #2C3F89 #3B54B7 #6378CD
Accessibility & contrast
On white
9.64
#2C3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2C3F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F89
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F89 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c3f89; /* rgb */ color: rgb(44, 63, 137); /* oklch */ color: oklch(39.6% 0.125 269.1);
Tailwind
colors: {
custom: {
50: '#7073ac',
500: '#2c3f89',
950: '#000000',
},
}SCSS
$custom: #2c3f89; $custom-light: #7073ac; $custom-dark: #000000;
JSON
{
"hex": "#2c3f89",
"rgb": {
"r": 44,
"g": 63,
"b": 137
},
"hsl": {
"h": 227.742,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.396,
"c": 0.12538,
"h": 269.1
},
"luminance": 0.05897
}Semantic roles & 50–950 ramp
primary
#2C3F89
secondary
#B3A25E
accent
#BE4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F