#228BA7#228BA7

#228BA7 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.2% C 0.099 H 220.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#228BA7
RGBrgb(34, 139, 167)
HSLhsl(193, 66%, 39%)
HSVhsv(193, 80%, 65%)
CMYKcmyk(79.6%, 16.8%, 0%, 34.5%)
CIE-LABlab(53.59, -19.01, -23.05)
CIE-LCHlch(53.59, 29.88, 230.49°)
OKLaboklab(59.22% -0.0753 -0.0645)
OKLCHoklch(59.22% 0.099 220.6)
XYZxyz(16.8644, 21.5933, 39.8308)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BA7 #A73E22
analogous
#22A781 #228BA7 #2248A7
triadic
#228BA7 #A7228B #8BA722
tetradic
#228BA7 #8122A7 #A73E22 #48A722
square
#228BA7 #8122A7 #A73E22 #48A722
split-complementary
#228BA7 #A72248 #A78122
monochromatic
#0D3641 #186174 #228BA7 #31B3D5 #64C5DF

Accessibility & contrast

On white

3.95
#228BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#228BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BA7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BA7#FFFFFF#000000##000000
##228BA71.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A87A8
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #228ba7;
/* rgb */ color: rgb(34, 139, 167);
/* oklch */ color: oklch(59.2% 0.099 220.6);
Tailwind
colors: {
  custom: {
    50: '#74adc1',
    500: '#228ba7',
    950: '#000000',
  },
}
SCSS
$custom: #228ba7;
$custom-light: #74adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#228ba7",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 167
  },
  "hsl": {
    "h": 192.632,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.09917,
    "h": 220.6
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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