#228EB4#228EB4
#228EB4 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.108 H 227.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #228EB4 |
|---|---|
| RGB | rgb(34, 142, 180) |
| HSL | hsl(196, 68%, 42%) |
| HSV | hsv(196, 81%, 71%) |
| CMYK | cmyk(81.1%, 21.1%, 0%, 29.4%) |
| CIE-LAB | lab(55.05, -16.14, -28.25) |
| CIE-LCH | lch(55.05, 32.53, 240.27°) |
| OKLab | oklab(60.57% -0.0732 -0.0794) |
| OKLCH | oklch(60.57% 0.108 227.3) |
| XYZ | xyz(18.5675, 22.9791, 46.6280) |
| Luminance | 0.2298 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.11
Teal Blue
#01889F
ΔE00 6.26
Cerulean
#007BA7
ΔE00 7.33
Water Blue
#0E87CC
ΔE00 8.19
Steel Blue
#4682B4
ΔE00 8.34
Dusty Blue
#5A86AD
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228EB4 #B44822
analogous
#22B491 #228EB4 #2245B4
triadic
#228EB4 #B4228E #8EB422
tetradic
#228EB4 #9122B4 #B44822 #45B422
square
#228EB4 #9122B4 #B44822 #45B422
split-complementary
#228EB4 #B42245 #B49122
monochromatic
#0F3D4D #186581 #228EB4 #3AB0DA #6DC5E3
Accessibility & contrast
On white
3.75
#228EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#228EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228EB4
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228EB4 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8BB6
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #228eb4; /* rgb */ color: rgb(34, 142, 180); /* oklch */ color: oklch(60.6% 0.108 227.3);
Tailwind
colors: {
custom: {
50: '#76afca',
500: '#228eb4',
950: '#000000',
},
}SCSS
$custom: #228eb4; $custom-light: #76afca; $custom-dark: #000000;
JSON
{
"hex": "#228eb4",
"rgb": {
"r": 34,
"g": 142,
"b": 180
},
"hsl": {
"h": 195.616,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.60565,
"c": 0.10799,
"h": 227.3
},
"luminance": 0.22981
}Semantic roles & 50–950 ramp
primary
#228EB4
secondary
#CA8268
accent
#6A3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82