#228DB3#228DB3

#228DB3 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.108 H 227.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#228DB3
RGBrgb(34, 141, 179)
HSLhsl(196, 68%, 42%)
HSVhsv(196, 81%, 70%)
CMYKcmyk(81%, 21.2%, 0%, 29.8%)
CIE-LABlab(54.70, -15.94, -28.22)
CIE-LCHlch(54.70, 32.41, 240.54°)
OKLaboklab(60.27% -0.0726 -0.0793)
OKLCHoklch(60.27% 0.108 227.5)
XYZxyz(18.3179, 22.6422, 46.0440)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DB3 #B34822
analogous
#22B391 #228DB3 #2245B3
triadic
#228DB3 #B3228D #8DB322
tetradic
#228DB3 #9122B3 #B34822 #45B322
square
#228DB3 #9122B3 #B34822 #45B322
split-complementary
#228DB3 #B32245 #B39122
monochromatic
#0E3C4C #186480 #228DB3 #39AFD9 #6CC4E3

Accessibility & contrast

On white

3.80
#228DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#228DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DB3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DB3#FFFFFF#000000##000000
##228DB31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB5
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #228db3;
/* rgb */ color: rgb(34, 141, 179);
/* oklch */ color: oklch(60.3% 0.108 227.5);
Tailwind
colors: {
  custom: {
    50: '#76aeca',
    500: '#228db3',
    950: '#000000',
  },
}
SCSS
$custom: #228db3;
$custom-light: #76aeca;
$custom-dark: #000000;
JSON
{
  "hex": "#228db3",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 179
  },
  "hsl": {
    "h": 195.724,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.10754,
    "h": 227.5
  },
  "luminance": 0.22645
}

Semantic roles & 50–950 ramp

primary
#228DB3
secondary
#C98168
accent
#6A3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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