#228BB3#228BB3
#228BB3 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.108 H 229.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #228BB3 |
|---|---|
| RGB | rgb(34, 139, 179) |
| HSL | hsl(197, 68%, 42%) |
| HSV | hsv(197, 81%, 70%) |
| CMYK | cmyk(81%, 22.3%, 0%, 29.8%) |
| CIE-LAB | lab(54.09, -14.84, -29.17) |
| CIE-LCH | lch(54.09, 32.73, 243.04°) |
| OKLab | oklab(59.78% -0.0707 -0.0821) |
| OKLCH | oklch(59.78% 0.108 229.3) |
| XYZ | xyz(18.0256, 22.0577, 45.9466) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.64
Cerulean
#007BA7
ΔE00 6.15
Teal Blue
#01889F
ΔE00 6.71
Water Blue
#0E87CC
ΔE00 7.12
Steel Blue
#4682B4
ΔE00 7.29
Nice Blue
#107AB0
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228BB3 #B34A22
analogous
#22B393 #228BB3 #2242B3
triadic
#228BB3 #B3228B #8BB322
tetradic
#228BB3 #9322B3 #B34A22 #42B322
square
#228BB3 #9322B3 #B34A22 #42B322
split-complementary
#228BB3 #B32242 #B39322
monochromatic
#0E3B4C #186380 #228BB3 #39ADD9 #6CC2E3
Accessibility & contrast
On white
3.88
#228BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#228BB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228BB3
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228BB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228BB3 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7689B5
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #228bb3; /* rgb */ color: rgb(34, 139, 179); /* oklch */ color: oklch(59.8% 0.108 229.3);
Tailwind
colors: {
custom: {
50: '#76adca',
500: '#228bb3',
950: '#000000',
},
}SCSS
$custom: #228bb3; $custom-light: #76adca; $custom-dark: #000000;
JSON
{
"hex": "#228bb3",
"rgb": {
"r": 34,
"g": 139,
"b": 179
},
"hsl": {
"h": 196.552,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.5978,
"c": 0.10834,
"h": 229.3
},
"luminance": 0.2206
}Semantic roles & 50–950 ramp
primary
#228BB3
secondary
#C98268
accent
#6D3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82