#2C3F8B#2C3F8B
#2C3F8B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.128 H 269.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F8B |
|---|---|
| RGB | rgb(44, 63, 139) |
| HSL | hsl(228, 52%, 36%) |
| HSV | hsv(228, 68%, 55%) |
| CMYK | cmyk(68.3%, 54.7%, 0%, 45.5%) |
| CIE-LAB | lab(29.30, 18.98, -44.66) |
| CIE-LCH | lch(29.30, 48.52, 293.02°) |
| OKLab | oklab(39.76% -0.0017 -0.1283) |
| OKLCH | oklch(39.76% 0.128 269.2) |
| XYZ | xyz(7.4748, 5.9539, 25.1764) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.40
Blueberry
#464196
ΔE00 4.86
Darkish Blue
#014182
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 5.73
Cobalt
#0047AB
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F8B #8B782C
analogous
#2C6E8B #2C3F8B #482C8B
triadic
#2C3F8B #8B2C3F #3F8B2C
tetradic
#2C3F8B #8B2C6E #8B782C #2C8B48
square
#2C3F8B #8B2C6E #8B782C #2C8B48
split-complementary
#2C3F8B #8B482C #6E8B2C
monochromatic
#0F152E #1D2A5D #2C3F8B #3B54B9 #6479CE
Accessibility & contrast
On white
9.58
#2C3F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2C3F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F8B
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F8B | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4A8E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c3f8b; /* rgb */ color: rgb(44, 63, 139); /* oklch */ color: oklch(39.8% 0.128 269.2);
Tailwind
colors: {
custom: {
50: '#7173ad',
500: '#2c3f8b',
950: '#000000',
},
}SCSS
$custom: #2c3f8b; $custom-light: #7173ad; $custom-dark: #000000;
JSON
{
"hex": "#2c3f8b",
"rgb": {
"r": 44,
"g": 63,
"b": 139
},
"hsl": {
"h": 228,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.39758,
"c": 0.12832,
"h": 269.2
},
"luminance": 0.05955
}Semantic roles & 50–950 ramp
primary
#2C3F8B
secondary
#B4A35F
accent
#BF4CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F