#228AB3#228AB3
#228AB3 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.5% C 0.109 H 230.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #228AB3 |
|---|---|
| RGB | rgb(34, 138, 179) |
| HSL | hsl(197, 68%, 42%) |
| HSV | hsv(197, 81%, 70%) |
| CMYK | cmyk(81%, 22.9%, 0%, 29.8%) |
| CIE-LAB | lab(53.78, -14.28, -29.65) |
| CIE-LCH | lch(53.78, 32.91, 244.28°) |
| OKLab | oklab(59.54% -0.0698 -0.0835) |
| OKLCH | oklch(59.54% 0.109 230.1) |
| XYZ | xyz(17.8815, 21.7695, 45.8986) |
| Luminance | 0.2177 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.61
Cerulean
#007BA7
ΔE00 5.74
Water Blue
#0E87CC
ΔE00 6.67
Steel Blue
#4682B4
ΔE00 6.89
Teal Blue
#01889F
ΔE00 7.01
Nice Blue
#107AB0
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228AB3 #B34B22
analogous
#22B394 #228AB3 #2241B3
triadic
#228AB3 #B3228A #8AB322
tetradic
#228AB3 #9422B3 #B34B22 #41B322
square
#228AB3 #9422B3 #B34B22 #41B322
split-complementary
#228AB3 #B32241 #B39422
monochromatic
#0E3B4C #186280 #228AB3 #39ACD9 #6CC2E3
Accessibility & contrast
On white
3.92
#228AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#228AB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228AB3
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228AB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228AB3 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7588B5
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #228ab3; /* rgb */ color: rgb(34, 138, 179); /* oklch */ color: oklch(59.5% 0.109 230.1);
Tailwind
colors: {
custom: {
50: '#76acca',
500: '#228ab3',
950: '#000000',
},
}SCSS
$custom: #228ab3; $custom-light: #76acca; $custom-dark: #000000;
JSON
{
"hex": "#228ab3",
"rgb": {
"r": 34,
"g": 138,
"b": 179
},
"hsl": {
"h": 196.966,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.59535,
"c": 0.10878,
"h": 230.1
},
"luminance": 0.21772
}Semantic roles & 50–950 ramp
primary
#228AB3
secondary
#C98368
accent
#6E3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82