#228BA8#228BA8

#228BA8 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.3% C 0.100 H 221.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#228BA8
RGBrgb(34, 139, 168)
HSLhsl(193, 66%, 40%)
HSVhsv(193, 80%, 66%)
CMYKcmyk(79.8%, 17.3%, 0%, 34.1%)
CIE-LABlab(53.63, -18.66, -23.56)
CIE-LCHlch(53.63, 30.06, 231.62°)
OKLaboklab(59.26% -0.0749 -0.066)
OKLCHoklch(59.26% 0.1 221.4)
XYZxyz(16.9572, 21.6304, 40.3196)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BA8 #A83F22
analogous
#22A882 #228BA8 #2248A8
triadic
#228BA8 #A8228B #8BA822
tetradic
#228BA8 #8222A8 #A83F22 #48A822
square
#228BA8 #8222A8 #A83F22 #48A822
split-complementary
#228BA8 #A82248 #A88222
monochromatic
#0D3742 #186175 #228BA8 #32B2D5 #65C5E0

Accessibility & contrast

On white

3.94
#228BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#228BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BA8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BA8#FFFFFF#000000##000000
##228BA81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A87AA
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #228ba8;
/* rgb */ color: rgb(34, 139, 168);
/* oklch */ color: oklch(59.3% 0.100 221.4);
Tailwind
colors: {
  custom: {
    50: '#74adc2',
    500: '#228ba8',
    950: '#000000',
  },
}
SCSS
$custom: #228ba8;
$custom-light: #74adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#228ba8",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 168
  },
  "hsl": {
    "h": 192.985,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59264,
    "c": 0.09984,
    "h": 221.4
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#228BA8
secondary
#C57661
accent
#633FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228BA8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#228BA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva