#2A55FA#2A55FA
#2A55FA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.248 H 266.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55FA |
|---|---|
| RGB | rgb(42, 85, 250) |
| HSL | hsl(228, 95%, 57%) |
| HSV | hsv(228, 83%, 98%) |
| CMYK | cmyk(83.2%, 66%, 0%, 2%) |
| CIE-LAB | lab(44.07, 45.49, -85.49) |
| CIE-LCH | lch(44.07, 96.84, 298.02°) |
| OKLab | oklab(53.57% -0.0172 -0.2478) |
| OKLCH | oklch(53.57% 0.248 266) |
| XYZ | xyz(21.4526, 13.8887, 91.9741) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Electric Blue
#0652FF
ΔE00 1.20
Azul
#1D5DEC
ΔE00 3.45
Warm Blue
#4B57DB
ΔE00 3.84
Bright Blue
#0165FC
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 6.64
Royal Blue
#4169E1
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55FA #FACF2A
analogous
#2ABDFA #2A55FA #672AFA
triadic
#2A55FA #FA2A55 #55FA2A
tetradic
#2A55FA #FA2ABD #FACF2A #2AFA67
square
#2A55FA #FA2ABD #FACF2A #2AFA67
split-complementary
#2A55FA #FA672A #BDFA2A
monochromatic
#0425A6 #0533E2 #2A55FA #6685FB #A2B4FD
Accessibility & contrast
On white
5.56
#2A55FA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#2A55FA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55FA
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55FA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55FA | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#005EF7
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2a55fa; /* rgb */ color: rgb(42, 85, 250); /* oklch */ color: oklch(53.6% 0.248 266.0);
Tailwind
colors: {
custom: {
50: '#8985fd',
500: '#2a55fa',
950: '#000000',
},
}SCSS
$custom: #2a55fa; $custom-light: #8985fd; $custom-dark: #000000;
JSON
{
"hex": "#2a55fa",
"rgb": {
"r": 42,
"g": 85,
"b": 250
},
"hsl": {
"h": 227.596,
"s": 95.413,
"l": 57.255
},
"oklch": {
"l": 0.53569,
"c": 0.24836,
"h": 266
},
"luminance": 0.13891
}Semantic roles & 50–950 ramp
primary
#2A55FA
secondary
#EAD996
accent
#D329FF
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0E0B18
muted
#7E7C86