#2C3F95#2C3F95
#2C3F95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.143 H 269.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F95 |
|---|---|
| RGB | rgb(44, 63, 149) |
| HSL | hsl(229, 54%, 38%) |
| HSV | hsv(229, 70%, 58%) |
| CMYK | cmyk(70.5%, 57.7%, 0%, 41.6%) |
| CIE-LAB | lab(30.06, 22.76, -49.57) |
| CIE-LCH | lch(30.06, 54.54, 294.66°) |
| OKLab | oklab(40.57% -0.0012 -0.1427) |
| OKLCH | oklch(40.57% 0.143 269.5) |
| XYZ | xyz(8.2392, 6.2596, 29.2020) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Blueberry
#464196
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 4.80
Cobalt
#0047AB
ΔE00 4.95
Darkslateblue
#483D8B
ΔE00 5.68
Darkish Blue
#014182
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F95 #95822C
analogous
#2C7395 #2C3F95 #4E2C95
triadic
#2C3F95 #952C3F #3F952C
tetradic
#2C3F95 #952C73 #95822C #2C954E
square
#2C3F95 #952C73 #95822C #2C954E
split-complementary
#2C3F95 #954E2C #73952C
monochromatic
#101737 #1E2B66 #2C3F95 #3A53C4 #697CD3
Accessibility & contrast
On white
9.33
#2C3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2C3F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F95
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F95 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c3f95; /* rgb */ color: rgb(44, 63, 149); /* oklch */ color: oklch(40.6% 0.143 269.5);
Tailwind
colors: {
custom: {
50: '#7373b5',
500: '#2c3f95',
950: '#000000',
},
}SCSS
$custom: #2c3f95; $custom-light: #7373b5; $custom-dark: #000000;
JSON
{
"hex": "#2c3f95",
"rgb": {
"r": 44,
"g": 63,
"b": 149
},
"hsl": {
"h": 229.143,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.40572,
"c": 0.14275,
"h": 269.5
},
"luminance": 0.0626
}Semantic roles & 50–950 ramp
primary
#2C3F95
secondary
#B9AA64
accent
#C34ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80