#228ABC#228ABC

#228ABC is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 60.0% C 0.117 H 235.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#228ABC
RGBrgb(34, 138, 188)
HSLhsl(199, 69%, 44%)
HSVhsv(199, 82%, 74%)
CMYKcmyk(81.9%, 26.6%, 0%, 26.3%)
CIE-LABlab(54.18, -11.07, -34.17)
CIE-LCHlch(54.18, 35.92, 252.05°)
OKLaboklab(59.99% -0.0666 -0.0965)
OKLCHoklch(59.99% 0.117 235.4)
XYZxyz(18.8216, 22.1455, 50.8497)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228ABC #BC5422
analogous
#22BCA1 #228ABC #223DBC
triadic
#228ABC #BC228A #8ABC22
tetradic
#228ABC #A122BC #BC5422 #3DBC22
square
#228ABC #A122BC #BC5422 #3DBC22
split-complementary
#228ABC #BC223D #BCA122
monochromatic
#0F3E54 #196488 #228ABC #3FA9DC #73C0E6

Accessibility & contrast

On white

3.87
#228ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#228ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228ABC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228ABC#FFFFFF#000000##000000
##228ABC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BE
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228abc;
/* rgb */ color: rgb(34, 138, 188);
/* oklch */ color: oklch(60.0% 0.117 235.4);
Tailwind
colors: {
  custom: {
    50: '#77acd0',
    500: '#228abc',
    950: '#000000',
  },
}
SCSS
$custom: #228abc;
$custom-light: #77acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#228abc",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 199.481,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.11728,
    "h": 235.4
  },
  "luminance": 0.22148
}

Semantic roles & 50–950 ramp

primary
#228ABC
secondary
#CD8C6D
accent
#753CEC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #228ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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