#2C3F94#2C3F94
#2C3F94 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.141 H 269.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F94 |
|---|---|
| RGB | rgb(44, 63, 148) |
| HSL | hsl(229, 54%, 38%) |
| HSV | hsv(229, 70%, 58%) |
| CMYK | cmyk(70.3%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(29.98, 22.38, -49.08) |
| CIE-LCH | lch(29.98, 53.94, 294.51°) |
| OKLab | oklab(40.49% -0.0012 -0.1413) |
| OKLCH | oklch(40.49% 0.141 269.5) |
| XYZ | xyz(8.1597, 6.2278, 28.7833) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Blueberry
#464196
ΔE00 4.34
Cobalt (survey)
#1E488F
ΔE00 4.74
Cobalt
#0047AB
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 5.66
Darkish Blue
#014182
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F94 #94812C
analogous
#2C7394 #2C3F94 #4D2C94
triadic
#2C3F94 #942C3F #3F942C
tetradic
#2C3F94 #942C73 #94812C #2C944D
square
#2C3F94 #942C73 #94812C #2C944D
split-complementary
#2C3F94 #944D2C #73942C
monochromatic
#101736 #1E2B65 #2C3F94 #3A53C3 #687CD2
Accessibility & contrast
On white
9.35
#2C3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2C3F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F94
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F94 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c3f94; /* rgb */ color: rgb(44, 63, 148); /* oklch */ color: oklch(40.5% 0.141 269.5);
Tailwind
colors: {
custom: {
50: '#7373b4',
500: '#2c3f94',
950: '#000000',
},
}SCSS
$custom: #2c3f94; $custom-light: #7373b4; $custom-dark: #000000;
JSON
{
"hex": "#2c3f94",
"rgb": {
"r": 44,
"g": 63,
"b": 148
},
"hsl": {
"h": 229.038,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.40489,
"c": 0.14133,
"h": 269.5
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#2C3F94
secondary
#B9A963
accent
#C34ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80