#2C3B9F#2C3B9F
#2C3B9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.162 H 270.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3B9F |
|---|---|
| RGB | rgb(44, 59, 159) |
| HSL | hsl(232, 57%, 40%) |
| HSV | hsv(232, 72%, 62%) |
| CMYK | cmyk(72.3%, 62.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.83, 29.17, -56.03) |
| CIE-LCH | lch(29.83, 63.17, 297.50°) |
| OKLab | oklab(40.66% 0.0021 -0.1618) |
| OKLCH | oklch(40.66% 0.162 270.7) |
| XYZ | xyz(8.8585, 6.1657, 33.5174) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.05
Blueberry
#464196
ΔE00 4.33
Cobalt
#0047AB
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3B9F #9F902C
analogous
#2C749F #2C3B9F #572C9F
triadic
#2C3B9F #9F2C3B #3B9F2C
tetradic
#2C3B9F #9F2C74 #9F902C #2C9F57
square
#2C3B9F #9F2C74 #9F902C #2C9F57
split-complementary
#2C3B9F #9F572C #749F2C
monochromatic
#11173F #1F296F #2C3B9F #3E51CA #6E7CD7
Accessibility & contrast
On white
9.40
#2C3B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2C3B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3B9F
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3B9F | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c3b9f; /* rgb */ color: rgb(44, 59, 159); /* oklch */ color: oklch(40.7% 0.162 270.7);
Tailwind
colors: {
custom: {
50: '#7671bc',
500: '#2c3b9f',
950: '#000000',
},
}SCSS
$custom: #2c3b9f; $custom-light: #7671bc; $custom-dark: #000000;
JSON
{
"hex": "#2c3b9f",
"rgb": {
"r": 44,
"g": 59,
"b": 159
},
"hsl": {
"h": 232.174,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.40656,
"c": 0.16179,
"h": 270.7
},
"luminance": 0.06167
}Semantic roles & 50–950 ramp
primary
#2C3B9F
secondary
#BEB369
accent
#CC48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81