#2E428E#2E428E
#2E428E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.128 H 269.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E428E |
|---|---|
| RGB | rgb(46, 66, 142) |
| HSL | hsl(228, 51%, 37%) |
| HSV | hsv(228, 68%, 56%) |
| CMYK | cmyk(67.6%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(30.47, 18.41, -44.60) |
| CIE-LCH | lch(30.47, 48.25, 292.43°) |
| OKLab | oklab(40.74% -0.0023 -0.128) |
| OKLCH | oklch(40.74% 0.128 269) |
| XYZ | xyz(7.9557, 6.4295, 26.4077) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.78
Blueberry
#464196
ΔE00 4.80
Cobalt
#0047AB
ΔE00 5.14
Darkish Blue
#014182
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E428E #8E7A2E
analogous
#2E728E #2E428E #4A2E8E
triadic
#2E428E #8E2E42 #428E2E
tetradic
#2E428E #8E2E72 #8E7A2E #2E8E4A
square
#2E428E #8E2E72 #8E7A2E #2E8E4A
split-complementary
#2E428E #8E4A2E #728E2E
monochromatic
#101732 #1F2D60 #2E428E #3D57BC #687DCE
Accessibility & contrast
On white
9.19
#2E428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E428E
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E428E | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e428e; /* rgb */ color: rgb(46, 66, 142); /* oklch */ color: oklch(40.7% 0.128 269.0);
Tailwind
colors: {
custom: {
50: '#7276b0',
500: '#2e428e',
950: '#000000',
},
}SCSS
$custom: #2e428e; $custom-light: #7276b0; $custom-dark: #000000;
JSON
{
"hex": "#2e428e",
"rgb": {
"r": 46,
"g": 66,
"b": 142
},
"hsl": {
"h": 227.5,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.40745,
"c": 0.12807,
"h": 269
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#2E428E
secondary
#B5A463
accent
#BD4DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F