#228EB3#228EB3
#228EB3 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.107 H 226.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #228EB3 |
|---|---|
| RGB | rgb(34, 142, 179) |
| HSL | hsl(195, 68%, 42%) |
| HSV | hsv(195, 81%, 70%) |
| CMYK | cmyk(81%, 20.7%, 0%, 29.8%) |
| CIE-LAB | lab(55.01, -16.48, -27.74) |
| CIE-LCH | lch(55.01, 32.27, 239.28°) |
| OKLab | oklab(60.52% -0.0735 -0.078) |
| OKLCH | oklch(60.52% 0.107 226.7) |
| XYZ | xyz(18.4660, 22.9385, 46.0934) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.01
Teal Blue
#01889F
ΔE00 5.96
Cerulean
#007BA7
ΔE00 7.42
Dusty Blue
#5A86AD
ΔE00 8.52
Water Blue
#0E87CC
ΔE00 8.52
Steel Blue
#4682B4
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228EB3 #B34722
analogous
#22B390 #228EB3 #2246B3
triadic
#228EB3 #B3228E #8EB322
tetradic
#228EB3 #9022B3 #B34722 #46B322
square
#228EB3 #9022B3 #B34722 #46B322
split-complementary
#228EB3 #B32246 #B39022
monochromatic
#0E3C4C #186580 #228EB3 #39B0D9 #6CC5E3
Accessibility & contrast
On white
3.76
#228EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#228EB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228EB3
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228EB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228EB3 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8BB5
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #228eb3; /* rgb */ color: rgb(34, 142, 179); /* oklch */ color: oklch(60.5% 0.107 226.7);
Tailwind
colors: {
custom: {
50: '#76afca',
500: '#228eb3',
950: '#000000',
},
}SCSS
$custom: #228eb3; $custom-light: #76afca; $custom-dark: #000000;
JSON
{
"hex": "#228eb3",
"rgb": {
"r": 34,
"g": 142,
"b": 179
},
"hsl": {
"h": 195.31,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.60517,
"c": 0.10718,
"h": 226.7
},
"luminance": 0.22941
}Semantic roles & 50–950 ramp
primary
#228EB3
secondary
#C98068
accent
#693DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82