#228DBD#228DBD

#228DBD is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.116 H 233.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#228DBD
RGBrgb(34, 141, 189)
HSLhsl(199, 70%, 44%)
HSVhsv(199, 82%, 74%)
CMYKcmyk(82%, 25.4%, 0%, 25.9%)
CIE-LABlab(55.14, -12.40, -33.25)
CIE-LCHlch(55.14, 35.48, 249.55°)
OKLaboklab(60.76% -0.069 -0.0938)
OKLCHoklch(60.76% 0.116 233.7)
XYZxyz(19.3661, 23.0615, 51.5649)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DBD #BD5222
analogous
#22BD9F #228DBD #223FBD
triadic
#228DBD #BD228D #8DBD22
tetradic
#228DBD #9F22BD #BD5222 #3FBD22
square
#228DBD #9F22BD #BD5222 #3FBD22
split-complementary
#228DBD #BD223F #BD9F22
monochromatic
#0F4055 #196689 #228DBD #40ACDD #73C2E6

Accessibility & contrast

On white

3.74
#228DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#228DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DBD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DBD#FFFFFF#000000##000000
##228DBD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CBF
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228dbd;
/* rgb */ color: rgb(34, 141, 189);
/* oklch */ color: oklch(60.8% 0.116 233.7);
Tailwind
colors: {
  custom: {
    50: '#78aed1',
    500: '#228dbd',
    950: '#000000',
  },
}
SCSS
$custom: #228dbd;
$custom-light: #78aed1;
$custom-dark: #000000;
JSON
{
  "hex": "#228dbd",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 189
  },
  "hsl": {
    "h": 198.581,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.11647,
    "h": 233.7
  },
  "luminance": 0.23064
}

Semantic roles & 50–950 ramp

primary
#228DBD
secondary
#CD8B6E
accent
#723BEC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #228DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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