#4262C5#4262C5
#4262C5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.159 H 267.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4262C5 |
|---|---|
| RGB | rgb(66, 98, 197) |
| HSL | hsl(225, 53%, 52%) |
| HSV | hsv(225, 66%, 77%) |
| CMYK | cmyk(66.5%, 50.3%, 0%, 22.7%) |
| CIE-LAB | lab(44.12, 20.83, -55.25) |
| CIE-LCH | lch(44.12, 59.05, 290.66°) |
| OKLab | oklab(52.59% -0.0075 -0.1585) |
| OKLCH | oklch(52.59% 0.159 267.3) |
| XYZ | xyz(16.6890, 13.9233, 54.6204) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.28
French Blue
#436BAD
ΔE00 4.69
Azul
#1D5DEC
ΔE00 4.84
Denim
#1560BD
ΔE00 4.98
Warm Blue
#4B57DB
ΔE00 5.49
Cornflower Blue
#5170D7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4262C5 #C5A542
analogous
#42A3C5 #4262C5 #6442C5
triadic
#4262C5 #C54262 #62C542
tetradic
#4262C5 #C542A3 #C5A542 #42C564
square
#4262C5 #C542A3 #C5A542 #42C564
split-complementary
#4262C5 #C56442 #A3C542
monochromatic
#21336C #2F4A9A #4262C5 #7189D3 #A0B0E2
Accessibility & contrast
On white
5.55
#4262C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#4262C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4262C5
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4262C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4262C5 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296FC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4262c5; /* rgb */ color: rgb(66, 98, 197); /* oklch */ color: oklch(52.6% 0.159 267.3);
Tailwind
colors: {
custom: {
50: '#848ed7',
500: '#4262c5',
950: '#000000',
},
}SCSS
$custom: #4262c5; $custom-light: #848ed7; $custom-dark: #000000;
JSON
{
"hex": "#4262c5",
"rgb": {
"r": 66,
"g": 98,
"b": 197
},
"hsl": {
"h": 225.344,
"s": 53.036,
"l": 51.569
},
"oklch": {
"l": 0.52585,
"c": 0.15867,
"h": 267.3
},
"luminance": 0.13925
}Semantic roles & 50–950 ramp
primary
#4262C5
secondary
#CEC095
accent
#B94BDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83