#4257AF#4257AF
#4257AF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.142 H 270.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4257AF |
|---|---|
| RGB | rgb(66, 87, 175) |
| HSL | hsl(228, 45%, 47%) |
| HSV | hsv(228, 62%, 69%) |
| CMYK | cmyk(62.3%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(39.70, 20.10, -49.54) |
| CIE-LCH | lch(39.70, 53.46, 292.08°) |
| OKLab | oklab(48.76% 0.0007 -0.1418) |
| OKLCH | oklch(48.76% 0.142 270.3) |
| XYZ | xyz(13.3902, 11.0687, 41.9800) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.63
Denim Blue
#3B5B92
ΔE00 5.00
Dusky Blue
#475F94
ΔE00 5.01
Warm Blue
#4B57DB
ΔE00 6.49
Cobalt
#0047AB
ΔE00 6.54
Denim
#1560BD
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4257AF #AF9A42
analogous
#428EAF #4257AF #6342AF
triadic
#4257AF #AF4257 #57AF42
tetradic
#4257AF #AF428E #AF9A42 #42AF63
square
#4257AF #AF428E #AF9A42 #42AF63
split-complementary
#4257AF #AF6342 #8EAF42
monochromatic
#202B56 #314183 #4257AF #687AC6 #95A1D7
Accessibility & contrast
On white
6.53
#4257AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#4257AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4257AF
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4257AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4257AF | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#0E59AD
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4257af; /* rgb */ color: rgb(66, 87, 175); /* oklch */ color: oklch(48.8% 0.142 270.3);
Tailwind
colors: {
custom: {
50: '#8186c7',
500: '#4257af',
950: '#000000',
},
}SCSS
$custom: #4257af; $custom-light: #8186c7; $custom-dark: #000000;
JSON
{
"hex": "#4257af",
"rgb": {
"r": 66,
"g": 87,
"b": 175
},
"hsl": {
"h": 228.44,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.48761,
"c": 0.14183,
"h": 270.3
},
"luminance": 0.1107
}Semantic roles & 50–950 ramp
primary
#4257AF
secondary
#C2B88A
accent
#BC53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82