#2E81B4#2E81B4
#2E81B4 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.7% C 0.111 H 240.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2E81B4 |
|---|---|
| RGB | rgb(46, 129, 180) |
| HSL | hsl(203, 59%, 44%) |
| HSV | hsv(203, 74%, 71%) |
| CMYK | cmyk(74.4%, 28.3%, 0%, 29.4%) |
| CIE-LAB | lab(51.35, -7.44, -33.99) |
| CIE-LCH | lch(51.35, 34.79, 257.66°) |
| OKLab | oklab(57.69% -0.0554 -0.096) |
| OKLCH | oklch(57.69% 0.111 240) |
| XYZ | xyz(17.2120, 19.5747, 46.0423) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.92
Nice Blue
#107AB0
ΔE00 2.99
Water Blue
#0E87CC
ΔE00 3.48
Cool Blue
#4984B8
ΔE00 3.65
Cerulean (survey)
#0485D1
ΔE00 3.88
Cerulean
#007BA7
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E81B4 #B4612E
analogous
#2EB4A4 #2E81B4 #2E3EB4
triadic
#2E81B4 #B42E81 #81B42E
tetradic
#2E81B4 #A42EB4 #B4612E #3EB42E
square
#2E81B4 #A42EB4 #B4612E #3EB42E
split-complementary
#2E81B4 #B42E3E #B4A42E
monochromatic
#153B53 #225E83 #2E81B4 #4E9FD2 #7EBADE
Accessibility & contrast
On white
4.27
#2E81B4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#2E81B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E81B4
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E81B4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E81B4 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6981B6
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2e81b4; /* rgb */ color: rgb(46, 129, 180); /* oklch */ color: oklch(57.7% 0.111 240.0);
Tailwind
colors: {
custom: {
50: '#79a5ca',
500: '#2e81b4',
950: '#000000',
},
}SCSS
$custom: #2e81b4; $custom-light: #79a5ca; $custom-dark: #000000;
JSON
{
"hex": "#2e81b4",
"rgb": {
"r": 46,
"g": 129,
"b": 180
},
"hsl": {
"h": 202.836,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.57693,
"c": 0.11088,
"h": 240
},
"luminance": 0.19577
}Semantic roles & 50–950 ramp
primary
#2E81B4
secondary
#C79577
accent
#8145E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82