#4262C6#4262C6
#4262C6 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.160 H 267.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4262C6 |
|---|---|
| RGB | rgb(66, 98, 198) |
| HSL | hsl(225, 54%, 52%) |
| HSV | hsv(225, 67%, 78%) |
| CMYK | cmyk(66.7%, 50.5%, 0%, 22.4%) |
| CIE-LAB | lab(44.19, 21.19, -55.73) |
| CIE-LCH | lch(44.19, 59.62, 290.82°) |
| OKLab | oklab(52.66% -0.0074 -0.1599) |
| OKLCH | oklch(52.66% 0.16 267.3) |
| XYZ | xyz(16.8040, 13.9692, 55.2259) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.17
Azul
#1D5DEC
ΔE00 4.73
French Blue
#436BAD
ΔE00 4.78
Denim
#1560BD
ΔE00 5.04
Warm Blue
#4B57DB
ΔE00 5.39
Cornflower Blue
#5170D7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4262C6 #C6A642
analogous
#42A4C6 #4262C6 #6442C6
triadic
#4262C6 #C64262 #62C642
tetradic
#4262C6 #C642A4 #C6A642 #42C664
square
#4262C6 #C642A4 #C6A642 #42C664
split-complementary
#4262C6 #C66442 #A4C642
monochromatic
#21336D #2F499C #4262C6 #7189D4 #A0B0E2
Accessibility & contrast
On white
5.53
#4262C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#4262C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4262C6
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4262C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4262C6 | 1.00 | 5.53 | 3.79 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286FCA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4262c6; /* rgb */ color: rgb(66, 98, 198); /* oklch */ color: oklch(52.7% 0.160 267.3);
Tailwind
colors: {
custom: {
50: '#858ed8',
500: '#4262c6',
950: '#000000',
},
}SCSS
$custom: #4262c6; $custom-light: #858ed8; $custom-dark: #000000;
JSON
{
"hex": "#4262c6",
"rgb": {
"r": 66,
"g": 98,
"b": 198
},
"hsl": {
"h": 225.455,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.52656,
"c": 0.16005,
"h": 267.3
},
"luminance": 0.13971
}Semantic roles & 50–950 ramp
primary
#4262C6
secondary
#CFC195
accent
#BA4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83