#255AB1#255AB1
#255AB1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.150 H 259.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #255AB1 |
|---|---|
| RGB | rgb(37, 90, 177) |
| HSL | hsl(217, 65%, 42%) |
| HSV | hsv(217, 79%, 69%) |
| CMYK | cmyk(79.1%, 49.2%, 0%, 30.6%) |
| CIE-LAB | lab(39.38, 14.58, -51.30) |
| CIE-LCH | lch(39.38, 53.33, 285.86°) |
| OKLab | oklab(48.21% -0.0262 -0.1475) |
| OKLCH | oklch(48.21% 0.15 259.9) |
| XYZ | xyz(12.3520, 10.8785, 43.0352) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.72
Sapphire
#0F52BA
ΔE00 2.91
Denim Blue
#3B5B92
ΔE00 4.16
Dusk Blue
#26538D
ΔE00 4.81
Light Navy Blue
#2E5A88
ΔE00 4.88
Denim (survey)
#3B638C
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255AB1 #B17C25
analogous
#25A0B1 #255AB1 #3625B1
triadic
#255AB1 #B1255A #5AB125
tetradic
#255AB1 #B125A0 #B17C25 #25B136
square
#255AB1 #B125A0 #B17C25 #25B136
split-complementary
#255AB1 #B13625 #A0B125
monochromatic
#10274C #1A407E #255AB1 #3D77D6 #6F9AE1
Accessibility & contrast
On white
6.61
#255AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#255AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #255AB1
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255AB1 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2764B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #255ab1; /* rgb */ color: rgb(37, 90, 177); /* oklch */ color: oklch(48.2% 0.150 259.9);
Tailwind
colors: {
custom: {
50: '#7588c9',
500: '#255ab1',
950: '#000000',
},
}SCSS
$custom: #255ab1; $custom-light: #7588c9; $custom-dark: #000000;
JSON
{
"hex": "#255ab1",
"rgb": {
"r": 37,
"g": 90,
"b": 177
},
"hsl": {
"h": 217.286,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.48206,
"c": 0.14982,
"h": 259.9
},
"luminance": 0.1088
}Semantic roles & 50–950 ramp
primary
#255AB1
secondary
#C8A46A
accent
#A83FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82