#254FC9#254FC9
#254FC9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.195 H 265.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #254FC9 |
|---|---|
| RGB | rgb(37, 79, 201) |
| HSL | hsl(225, 69%, 47%) |
| HSV | hsv(225, 82%, 79%) |
| CMYK | cmyk(81.6%, 60.7%, 0%, 21.2%) |
| CIE-LAB | lab(38.20, 31.05, -67.24) |
| CIE-LCH | lch(38.20, 74.07, 294.79°) |
| OKLab | oklab(47.89% -0.0169 -0.1945) |
| OKLCH | oklch(47.89% 0.195 265) |
| XYZ | xyz(14.0978, 10.2006, 56.4729) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 4.00
Blue (survey)
#0343DF
ΔE00 4.35
Cobalt
#0047AB
ΔE00 5.25
Warm Blue
#4B57DB
ΔE00 5.34
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FC9 #C99F25
analogous
#25A1C9 #254FC9 #4D25C9
triadic
#254FC9 #C9254F #4FC925
tetradic
#254FC9 #C925A1 #C99F25 #25C94D
square
#254FC9 #C925A1 #C99F25 #25C94D
split-complementary
#254FC9 #C94D25 #A1C925
monochromatic
#122662 #1B3B95 #254FC9 #4D72DE #819BE8
Accessibility & contrast
On white
6.91
#254FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#254FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #254FC9
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FC9 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #254fc9; /* rgb */ color: rgb(37, 79, 201); /* oklch */ color: oklch(47.9% 0.195 265.0);
Tailwind
colors: {
custom: {
50: '#7c7fda',
500: '#254fc9',
950: '#000000',
},
}SCSS
$custom: #254fc9; $custom-light: #7c7fda; $custom-dark: #000000;
JSON
{
"hex": "#254fc9",
"rgb": {
"r": 37,
"g": 79,
"b": 201
},
"hsl": {
"h": 224.634,
"s": 68.908,
"l": 46.667
},
"oklch": {
"l": 0.47886,
"c": 0.19527,
"h": 265
},
"luminance": 0.10202
}Semantic roles & 50–950 ramp
primary
#254FC9
secondary
#D0BA79
accent
#BF3CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83