#255AA8#255AA8
#255AA8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.137 H 258.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #255AA8 |
|---|---|
| RGB | rgb(37, 90, 168) |
| HSL | hsl(216, 64%, 40%) |
| HSV | hsv(216, 78%, 66%) |
| CMYK | cmyk(78%, 46.4%, 0%, 34.1%) |
| CIE-LAB | lab(38.78, 11.07, -46.94) |
| CIE-LCH | lch(38.78, 48.22, 283.27°) |
| OKLab | oklab(47.56% -0.0277 -0.1347) |
| OKLCH | oklch(47.56% 0.137 258.4) |
| XYZ | xyz(11.4844, 10.5315, 38.4657) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.12
Denim Blue
#3B5B92
ΔE00 3.47
Sapphire
#0F52BA
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 3.82
Light Navy Blue
#2E5A88
ΔE00 3.87
Denim (survey)
#3B638C
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255AA8 #A87325
analogous
#259BA8 #255AA8 #3125A8
triadic
#255AA8 #A8255A #5AA825
tetradic
#255AA8 #A8259B #A87325 #25A831
square
#255AA8 #A8259B #A87325 #25A831
split-complementary
#255AA8 #A83125 #9BA825
monochromatic
#0F2444 #1A3F76 #255AA8 #3776D3 #6999DE
Accessibility & contrast
On white
6.76
#255AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#255AA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #255AA8
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255AA8 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1156A6
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #255aa8; /* rgb */ color: rgb(37, 90, 168); /* oklch */ color: oklch(47.6% 0.137 258.4);
Tailwind
colors: {
custom: {
50: '#7388c2',
500: '#255aa8',
950: '#000000',
},
}SCSS
$custom: #255aa8; $custom-light: #7388c2; $custom-dark: #000000;
JSON
{
"hex": "#255aa8",
"rgb": {
"r": 37,
"g": 90,
"b": 168
},
"hsl": {
"h": 215.725,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.47557,
"c": 0.13749,
"h": 258.4
},
"luminance": 0.10533
}Semantic roles & 50–950 ramp
primary
#255AA8
secondary
#C49D65
accent
#A441E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81