#255DC6#255DC6
#255DC6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.174 H 261.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #255DC6 |
|---|---|
| RGB | rgb(37, 93, 198) |
| HSL | hsl(219, 69%, 46%) |
| HSV | hsv(219, 81%, 78%) |
| CMYK | cmyk(81.3%, 53%, 0%, 22.4%) |
| CIE-LAB | lab(41.68, 20.76, -59.83) |
| CIE-LCH | lch(41.68, 63.33, 289.13°) |
| OKLab | oklab(50.44% -0.0258 -0.1725) |
| OKLCH | oklch(50.44% 0.174 261.5) |
| XYZ | xyz(14.8667, 12.2974, 55.0052) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.70
Sapphire
#0F52BA
ΔE00 3.90
Azul
#1D5DEC
ΔE00 4.86
French Blue
#436BAD
ΔE00 5.50
Mid Blue
#276AB3
ΔE00 5.84
Royal Blue
#4169E1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255DC6 #C68E25
analogous
#25ADC6 #255DC6 #3D25C6
triadic
#255DC6 #C6255D #5DC625
tetradic
#255DC6 #C625AD #C68E25 #25C63D
square
#255DC6 #C625AD #C68E25 #25C63D
split-complementary
#255DC6 #C63D25 #ADC625
monochromatic
#122D5F #1B4592 #255DC6 #4B7EDD #7EA3E7
Accessibility & contrast
On white
6.07
#255DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#255DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #255DC6
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255DC6 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086ACA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #255dc6; /* rgb */ color: rgb(37, 93, 198); /* oklch */ color: oklch(50.4% 0.174 261.5);
Tailwind
colors: {
custom: {
50: '#7a8ad8',
500: '#255dc6',
950: '#000000',
},
}SCSS
$custom: #255dc6; $custom-light: #7a8ad8; $custom-dark: #000000;
JSON
{
"hex": "#255dc6",
"rgb": {
"r": 37,
"g": 93,
"b": 198
},
"hsl": {
"h": 219.13,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.50437,
"c": 0.17446,
"h": 261.5
},
"luminance": 0.12299
}Semantic roles & 50–950 ramp
primary
#255DC6
secondary
#CFB177
accent
#AF3CEB
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B15
muted
#7C7C83