#228BB1#228BB1
#228BB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.107 H 227.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #228BB1 |
|---|---|
| RGB | rgb(34, 139, 177) |
| HSL | hsl(196, 68%, 41%) |
| HSV | hsv(196, 81%, 69%) |
| CMYK | cmyk(80.8%, 21.5%, 0%, 30.6%) |
| CIE-LAB | lab(54.00, -15.54, -28.16) |
| CIE-LCH | lch(54.00, 32.16, 241.11°) |
| OKLab | oklab(59.68% -0.0714 -0.0792) |
| OKLCH | oklch(59.68% 0.107 227.9) |
| XYZ | xyz(17.8248, 21.9774, 44.8891) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.34
Teal Blue
#01889F
ΔE00 6.08
Cerulean
#007BA7
ΔE00 6.29
Steel Blue
#4682B4
ΔE00 7.76
Water Blue
#0E87CC
ΔE00 7.79
Nice Blue
#107AB0
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228BB1 #B14822
analogous
#22B190 #228BB1 #2244B1
triadic
#228BB1 #B1228B #8BB122
tetradic
#228BB1 #9022B1 #B14822 #44B122
square
#228BB1 #9022B1 #B14822 #44B122
split-complementary
#228BB1 #B12244 #B19022
monochromatic
#0E3A4A #18637E #228BB1 #38AED9 #6BC3E3
Accessibility & contrast
On white
3.89
#228BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#228BB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228BB1
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228BB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228BB1 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #228bb1; /* rgb */ color: rgb(34, 139, 177); /* oklch */ color: oklch(59.7% 0.107 227.9);
Tailwind
colors: {
custom: {
50: '#76adc8',
500: '#228bb1',
950: '#000000',
},
}SCSS
$custom: #228bb1; $custom-light: #76adc8; $custom-dark: #000000;
JSON
{
"hex": "#228bb1",
"rgb": {
"r": 34,
"g": 139,
"b": 177
},
"hsl": {
"h": 195.944,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.59684,
"c": 0.10664,
"h": 227.9
},
"luminance": 0.2198
}Semantic roles & 50–950 ramp
primary
#228BB1
secondary
#C98066
accent
#6B3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82