#2C3286#2C3286
#2C3286 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.138 H 274.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3286 |
|---|---|
| RGB | rgb(44, 50, 134) |
| HSL | hsl(236, 51%, 35%) |
| HSV | hsv(236, 67%, 53%) |
| CMYK | cmyk(67.2%, 62.7%, 0%, 47.5%) |
| CIE-LAB | lab(25.37, 25.94, -47.92) |
| CIE-LCH | lch(25.37, 54.49, 298.42°) |
| OKLab | oklab(36.71% 0.0102 -0.1381) |
| OKLCH | oklch(36.71% 0.138 274.2) |
| XYZ | xyz(6.4810, 4.5373, 23.0839) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.17
Blueberry
#464196
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.63
Midnight Blue
#191970
ΔE00 7.19
Royal
#0C1793
ΔE00 7.58
Marine
#042E60
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3286 #86802C
analogous
#2C5F86 #2C3286 #532C86
triadic
#2C3286 #862C32 #32862C
tetradic
#2C3286 #862C5F #86802C #2C8653
square
#2C3286 #862C5F #86802C #2C8653
split-complementary
#2C3286 #86532C #5F862C
monochromatic
#0E102A #1D2158 #2C3286 #3B43B4 #6168CB
Accessibility & contrast
On white
11.01
#2C3286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2C3286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3286
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3286 | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c3286; /* rgb */ color: rgb(44, 50, 134); /* oklch */ color: oklch(36.7% 0.138 274.2);
Tailwind
colors: {
custom: {
50: '#716aaa',
500: '#2c3286',
950: '#000000',
},
}SCSS
$custom: #2c3286; $custom-light: #716aaa; $custom-dark: #000000;
JSON
{
"hex": "#2c3286",
"rgb": {
"r": 44,
"g": 50,
"b": 134
},
"hsl": {
"h": 236,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.36706,
"c": 0.13843,
"h": 274.2
},
"luminance": 0.04538
}Semantic roles & 50–950 ramp
primary
#2C3286
secondary
#B1AC5C
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F