#4254B2#4254B2
#4254B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.150 H 271.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4254B2 |
|---|---|
| RGB | rgb(66, 84, 178) |
| HSL | hsl(230, 46%, 48%) |
| HSV | hsv(230, 63%, 70%) |
| CMYK | cmyk(62.9%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(39.09, 23.09, -52.28) |
| CIE-LCH | lch(39.09, 57.16, 293.83°) |
| OKLab | oklab(48.37% 0.004 -0.1499) |
| OKLCH | oklch(48.37% 0.15 271.5) |
| XYZ | xyz(13.4503, 10.7121, 43.4697) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.70
Denim Blue
#3B5B92
ΔE00 5.95
Warm Blue
#4B57DB
ΔE00 6.02
Dusky Blue
#475F94
ΔE00 6.04
Cobalt
#0047AB
ΔE00 6.18
Iris
#6258C4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4254B2 #B2A042
analogous
#428CB2 #4254B2 #6842B2
triadic
#4254B2 #B24254 #54B242
tetradic
#4254B2 #B2428C #B2A042 #42B268
square
#4254B2 #B2428C #B2A042 #42B268
split-complementary
#4254B2 #B26842 #8CB242
monochromatic
#212A59 #313F85 #4254B2 #6A79C8 #96A1D8
Accessibility & contrast
On white
6.68
#4254B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#4254B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4254B2
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4254B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4254B2 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4254b2; /* rgb */ color: rgb(66, 84, 178); /* oklch */ color: oklch(48.4% 0.150 271.5);
Tailwind
colors: {
custom: {
50: '#8283ca',
500: '#4254b2',
950: '#000000',
},
}SCSS
$custom: #4254b2; $custom-light: #8283ca; $custom-dark: #000000;
JSON
{
"hex": "#4254b2",
"rgb": {
"r": 66,
"g": 84,
"b": 178
},
"hsl": {
"h": 230.357,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.48369,
"c": 0.14999,
"h": 271.5
},
"luminance": 0.10713
}Semantic roles & 50–950 ramp
primary
#4254B2
secondary
#C4BB8C
accent
#C052D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82