#228CBD#228CBD

#228CBD is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.5% C 0.117 H 234.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#228CBD
RGBrgb(34, 140, 189)
HSLhsl(199, 70%, 44%)
HSVhsv(199, 82%, 74%)
CMYKcmyk(82%, 25.9%, 0%, 25.9%)
CIE-LABlab(54.83, -11.84, -33.72)
CIE-LCHlch(54.83, 35.74, 250.65°)
OKLaboklab(60.52% -0.0681 -0.0952)
OKLCHoklch(60.52% 0.117 234.4)
XYZxyz(19.2194, 22.7680, 51.5159)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CBD #BD5322
analogous
#22BDA0 #228CBD #223EBD
triadic
#228CBD #BD228C #8CBD22
tetradic
#228CBD #A022BD #BD5322 #3EBD22
square
#228CBD #A022BD #BD5322 #3EBD22
split-complementary
#228CBD #BD223E #BDA022
monochromatic
#0F3F55 #196689 #228CBD #40ABDD #73C2E6

Accessibility & contrast

On white

3.78
#228CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#228CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CBD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CBD#FFFFFF#000000##000000
##228CBD1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBF
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#00999D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #228cbd;
/* rgb */ color: rgb(34, 140, 189);
/* oklch */ color: oklch(60.5% 0.117 234.4);
Tailwind
colors: {
  custom: {
    50: '#78add1',
    500: '#228cbd',
    950: '#000000',
  },
}
SCSS
$custom: #228cbd;
$custom-light: #78add1;
$custom-dark: #000000;
JSON
{
  "hex": "#228cbd",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 189
  },
  "hsl": {
    "h": 198.968,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60519,
    "c": 0.11706,
    "h": 234.4
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#228CBD
secondary
#CD8C6E
accent
#733BEC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #228CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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