#2E5DCB#2E5DCB
#2E5DCB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.179 H 263.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5DCB |
|---|---|
| RGB | rgb(46, 93, 203) |
| HSL | hsl(222, 63%, 49%) |
| HSV | hsv(222, 77%, 80%) |
| CMYK | cmyk(77.3%, 54.2%, 0%, 20.4%) |
| CIE-LAB | lab(42.34, 23.56, -61.65) |
| CIE-LCH | lch(42.34, 66.00, 290.92°) |
| OKLab | oklab(51.13% -0.0194 -0.1777) |
| OKLCH | oklch(51.13% 0.179 263.8) |
| XYZ | xyz(15.8167, 12.7195, 58.1098) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.92
Azul
#1D5DEC
ΔE00 3.94
Sapphire
#0F52BA
ΔE00 4.50
Royal Blue
#4169E1
ΔE00 5.28
Warm Blue
#4B57DB
ΔE00 5.45
French Blue
#436BAD
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5DCB #CB9C2E
analogous
#2EACCB #2E5DCB #4E2ECB
triadic
#2E5DCB #CB2E5D #5DCB2E
tetradic
#2E5DCB #CB2EAC #CB9C2E #2ECB4E
square
#2E5DCB #CB2EAC #CB9C2E #2ECB4E
split-complementary
#2E5DCB #CB4E2E #ACCB2E
monochromatic
#172F67 #234699 #2E5DCB #5C82DA #8EA8E5
Accessibility & contrast
On white
5.93
#2E5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2E5DCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5DCB
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5DCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5DCB | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2e5dcb; /* rgb */ color: rgb(46, 93, 203); /* oklch */ color: oklch(51.1% 0.179 263.8);
Tailwind
colors: {
custom: {
50: '#7e8adc',
500: '#2e5dcb',
950: '#000000',
},
}SCSS
$custom: #2e5dcb; $custom-light: #7e8adc; $custom-dark: #000000;
JSON
{
"hex": "#2e5dcb",
"rgb": {
"r": 46,
"g": 93,
"b": 203
},
"hsl": {
"h": 222.038,
"s": 63.052,
"l": 48.824
},
"oklch": {
"l": 0.51128,
"c": 0.17881,
"h": 263.8
},
"luminance": 0.12721
}Semantic roles & 50–950 ramp
primary
#2E5DCB
secondary
#D0B985
accent
#B542E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83