#3254AF#3254AF
#3254AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.151 H 265.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3254AF |
|---|---|
| RGB | rgb(50, 84, 175) |
| HSL | hsl(224, 56%, 44%) |
| HSV | hsv(224, 71%, 69%) |
| CMYK | cmyk(71.4%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(38.04, 19.42, -52.24) |
| CIE-LCH | lch(38.04, 55.73, 290.39°) |
| OKLab | oklab(47.28% -0.0117 -0.1502) |
| OKLCH | oklch(47.28% 0.151 265.5) |
| XYZ | xyz(12.2209, 10.1126, 41.8570) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.54
Cobalt
#0047AB
ΔE00 4.62
Denim Blue
#3B5B92
ΔE00 4.65
Dusk Blue
#26538D
ΔE00 5.33
Denim
#1560BD
ΔE00 5.62
Dusky Blue
#475F94
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3254AF #AF8D32
analogous
#3293AF #3254AF #4F32AF
triadic
#3254AF #AF3254 #54AF32
tetradic
#3254AF #AF3293 #AF8D32 #32AF4F
square
#3254AF #AF3293 #AF8D32 #32AF4F
split-complementary
#3254AF #AF4F32 #93AF32
monochromatic
#172650 #243D7F #3254AF #5173CD #8199DB
Accessibility & contrast
On white
6.95
#3254AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#3254AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3254AF
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3254AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3254AF | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3254af; /* rgb */ color: rgb(50, 84, 175); /* oklch */ color: oklch(47.3% 0.151 265.5);
Tailwind
colors: {
custom: {
50: '#7a83c7',
500: '#3254af',
950: '#000000',
},
}SCSS
$custom: #3254af; $custom-light: #7a83c7; $custom-dark: #000000;
JSON
{
"hex": "#3254af",
"rgb": {
"r": 50,
"g": 84,
"b": 175
},
"hsl": {
"h": 223.68,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.47284,
"c": 0.15063,
"h": 265.5
},
"luminance": 0.10114
}Semantic roles & 50–950 ramp
primary
#3254AF
secondary
#C4B079
accent
#B649DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82