#5E81BD#5E81BD
#5E81BD is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.3% C 0.100 H 260.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5E81BD |
|---|---|
| RGB | rgb(94, 129, 189) |
| HSL | hsl(218, 42%, 55%) |
| HSV | hsv(218, 50%, 74%) |
| CMYK | cmyk(50.3%, 31.7%, 0%, 25.9%) |
| CIE-LAB | lab(53.76, 4.65, -35.23) |
| CIE-LCH | lch(53.76, 35.54, 277.51°) |
| OKLab | oklab(60.27% -0.0161 -0.099) |
| OKLCH | oklch(60.27% 0.1 260.8) |
| XYZ | xyz(21.6486, 21.7528, 51.1922) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.01
Off Blue
#5684AE
ΔE00 4.38
Dusty Blue
#5A86AD
ΔE00 4.70
Cool Blue
#4984B8
ΔE00 5.30
Soft Blue
#6488EA
ΔE00 5.70
Steel Blue
#4682B4
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E81BD #BD9A5E
analogous
#5EB0BD #5E81BD #6A5EBD
triadic
#5E81BD #BD5E81 #81BD5E
tetradic
#5E81BD #BD5EB0 #BD9A5E #5EBD6A
square
#5E81BD #BD5EB0 #BD9A5E #5EBD6A
split-complementary
#5E81BD #BD6A5E #B0BD5E
monochromatic
#2F4772 #40639D #5E81BD #89A3CF #B5C5E1
Accessibility & contrast
On white
3.92
#5E81BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5E81BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E81BD
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E81BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E81BD | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A85C0
Deuteranopia (green-blind)
#5F7CBC
Tritanopia (blue-blind)
#338E96
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5e81bd; /* rgb */ color: rgb(94, 129, 189); /* oklch */ color: oklch(60.3% 0.100 260.8);
Tailwind
colors: {
custom: {
50: '#91a5d1',
500: '#5e81bd',
950: '#000000',
},
}SCSS
$custom: #5e81bd; $custom-light: #91a5d1; $custom-dark: #000000;
JSON
{
"hex": "#5e81bd",
"rgb": {
"r": 94,
"g": 129,
"b": 189
},
"hsl": {
"h": 217.895,
"s": 41.85,
"l": 55.49
},
"oklch": {
"l": 0.60271,
"c": 0.10034,
"h": 260.8
},
"luminance": 0.21754
}Semantic roles & 50–950 ramp
primary
#5E81BD
secondary
#CFC1A8
accent
#A456D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82