#4245C3#4245C3
#4245C3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.192 H 275.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4245C3 |
|---|---|
| RGB | rgb(66, 69, 195) |
| HSL | hsl(239, 52%, 51%) |
| HSV | hsv(239, 66%, 76%) |
| CMYK | cmyk(66.2%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(36.66, 38.48, -66.22) |
| CIE-LCH | lch(36.66, 76.59, 300.16°) |
| OKLab | oklab(46.97% 0.0171 -0.191) |
| OKLCH | oklch(46.97% 0.192 275.1) |
| XYZ | xyz(14.2220, 9.3534, 52.6751) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.86
Blue Blue
#2242C7
ΔE00 2.93
Blue With A Hint Of Purple
#533CC6
ΔE00 3.63
Blue (survey)
#0343DF
ΔE00 4.29
Blurple
#5539CC
ΔE00 4.44
Bluey Purple
#6241C7
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4245C3 #C3C042
analogous
#4285C3 #4245C3 #7F42C3
triadic
#4245C3 #C34245 #45C342
tetradic
#4245C3 #C34285 #C3C042 #42C37F
square
#4245C3 #C34285 #C3C042 #42C37F
split-complementary
#4245C3 #C37F42 #85C342
monochromatic
#212369 #303398 #4245C3 #7073D2 #9FA0E0
Accessibility & contrast
On white
7.31
#4245C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#4245C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4245C3
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4245C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4245C3 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4245c3; /* rgb */ color: rgb(66, 69, 195); /* oklch */ color: oklch(47.0% 0.192 275.1);
Tailwind
colors: {
custom: {
50: '#8679d6',
500: '#4245c3',
950: '#000000',
},
}SCSS
$custom: #4245c3; $custom-light: #8679d6; $custom-dark: #000000;
JSON
{
"hex": "#4245c3",
"rgb": {
"r": 66,
"g": 69,
"b": 195
},
"hsl": {
"h": 238.605,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.46971,
"c": 0.1918,
"h": 275.1
},
"luminance": 0.09355
}Semantic roles & 50–950 ramp
primary
#4245C3
secondary
#CDCC94
accent
#D84DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83