#228CB1#228CB1
#228CB1 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 59.9% C 0.106 H 227.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #228CB1 |
|---|---|
| RGB | rgb(34, 140, 177) |
| HSL | hsl(196, 68%, 41%) |
| HSV | hsv(196, 81%, 69%) |
| CMYK | cmyk(80.8%, 20.9%, 0%, 30.6%) |
| CIE-LAB | lab(54.31, -16.09, -27.68) |
| CIE-LCH | lch(54.31, 32.02, 239.83°) |
| OKLab | oklab(59.93% -0.0724 -0.0778) |
| OKLCH | oklch(59.93% 0.106 227.1) |
| XYZ | xyz(17.9703, 22.2683, 44.9375) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.47
Teal Blue
#01889F
ΔE00 5.80
Cerulean
#007BA7
ΔE00 6.73
Steel Blue
#4682B4
ΔE00 8.19
Water Blue
#0E87CC
ΔE00 8.25
Dusty Blue
#5A86AD
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228CB1 #B14722
analogous
#22B18F #228CB1 #2245B1
triadic
#228CB1 #B1228C #8CB122
tetradic
#228CB1 #8F22B1 #B14722 #45B122
square
#228CB1 #8F22B1 #B14722 #45B122
split-complementary
#228CB1 #B12245 #B18F22
monochromatic
#0E3B4A #18637E #228CB1 #38AFD9 #6BC4E3
Accessibility & contrast
On white
3.85
#228CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#228CB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228CB1
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228CB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228CB1 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #228cb1; /* rgb */ color: rgb(34, 140, 177); /* oklch */ color: oklch(59.9% 0.106 227.1);
Tailwind
colors: {
custom: {
50: '#76adc8',
500: '#228cb1',
950: '#000000',
},
}SCSS
$custom: #228cb1; $custom-light: #76adc8; $custom-dark: #000000;
JSON
{
"hex": "#228cb1",
"rgb": {
"r": 34,
"g": 140,
"b": 177
},
"hsl": {
"h": 195.524,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.5993,
"c": 0.10627,
"h": 227.1
},
"luminance": 0.22271
}Semantic roles & 50–950 ramp
primary
#228CB1
secondary
#C98066
accent
#6A3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82