#254FCA#254FCA
#254FCA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.197 H 265.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #254FCA |
|---|---|
| RGB | rgb(37, 79, 202) |
| HSL | hsl(225, 69%, 47%) |
| HSV | hsv(225, 82%, 79%) |
| CMYK | cmyk(81.7%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(38.28, 31.43, -67.69) |
| CIE-LCH | lch(38.28, 74.63, 294.91°) |
| OKLab | oklab(47.97% -0.0169 -0.1958) |
| OKLCH | oklch(47.97% 0.197 265.1) |
| XYZ | xyz(14.2158, 10.2478, 57.0945) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.58
Blue Blue
#2242C7
ΔE00 3.99
Blue (survey)
#0343DF
ΔE00 4.27
Warm Blue
#4B57DB
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.37
Azul
#1D5DEC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FCA #CAA025
analogous
#25A2CA #254FCA #4D25CA
triadic
#254FCA #CA254F #4FCA25
tetradic
#254FCA #CA25A2 #CAA025 #25CA4D
square
#254FCA #CA25A2 #CAA025 #25CA4D
split-complementary
#254FCA #CA4D25 #A2CA25
monochromatic
#122763 #1C3B96 #254FCA #4E73DF #819CE8
Accessibility & contrast
On white
6.89
#254FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#254FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #254FCA
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FCA | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #254fca; /* rgb */ color: rgb(37, 79, 202); /* oklch */ color: oklch(48.0% 0.197 265.1);
Tailwind
colors: {
custom: {
50: '#7c7fdb',
500: '#254fca',
950: '#000000',
},
}SCSS
$custom: #254fca; $custom-light: #7c7fdb; $custom-dark: #000000;
JSON
{
"hex": "#254fca",
"rgb": {
"r": 37,
"g": 79,
"b": 202
},
"hsl": {
"h": 224.727,
"s": 69.038,
"l": 46.863
},
"oklch": {
"l": 0.47974,
"c": 0.19657,
"h": 265.1
},
"luminance": 0.1025
}Semantic roles & 50–950 ramp
primary
#254FCA
secondary
#D1BB7A
accent
#BF3CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83