#2D4EC1#2D4EC1
#2D4EC1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.184 H 266.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EC1 |
|---|---|
| RGB | rgb(45, 78, 193) |
| HSL | hsl(227, 62%, 47%) |
| HSV | hsv(227, 77%, 76%) |
| CMYK | cmyk(76.7%, 59.6%, 0%, 24.3%) |
| CIE-LAB | lab(37.58, 29.46, -63.58) |
| CIE-LCH | lch(37.58, 70.08, 294.86°) |
| OKLab | oklab(47.3% -0.0104 -0.1837) |
| OKLCH | oklch(47.3% 0.184 266.8) |
| XYZ | xyz(13.4288, 9.8554, 51.6363) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.51
Blue Blue
#2242C7
ΔE00 3.73
Cobalt
#0047AB
ΔE00 4.72
Blue (survey)
#0343DF
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EC1 #C1A02D
analogous
#2D98C1 #2D4EC1 #562DC1
triadic
#2D4EC1 #C12D4E #4EC12D
tetradic
#2D4EC1 #C12D98 #C1A02D #2DC156
square
#2D4EC1 #C12D98 #C1A02D #2DC156
split-complementary
#2D4EC1 #C1562D #98C12D
monochromatic
#16265E #213A8F #2D4EC1 #5471D7 #869AE3
Accessibility & contrast
On white
7.07
#2D4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2D4EC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EC1
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EC1 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2d4ec1; /* rgb */ color: rgb(45, 78, 193); /* oklch */ color: oklch(47.3% 0.184 266.8);
Tailwind
colors: {
custom: {
50: '#7c7fd5',
500: '#2d4ec1',
950: '#000000',
},
}SCSS
$custom: #2d4ec1; $custom-light: #7c7fd5; $custom-dark: #000000;
JSON
{
"hex": "#2d4ec1",
"rgb": {
"r": 45,
"g": 78,
"b": 193
},
"hsl": {
"h": 226.622,
"s": 62.185,
"l": 46.667
},
"oklch": {
"l": 0.47304,
"c": 0.18398,
"h": 266.8
},
"luminance": 0.09857
}Semantic roles & 50–950 ramp
primary
#2D4EC1
secondary
#CCBB7E
accent
#C143E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83