#228EB3#228EB3

#228EB3 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.107 H 226.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#228EB3
RGBrgb(34, 142, 179)
HSLhsl(195, 68%, 42%)
HSVhsv(195, 81%, 70%)
CMYKcmyk(81%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.01, -16.48, -27.74)
CIE-LCHlch(55.01, 32.27, 239.28°)
OKLaboklab(60.52% -0.0735 -0.078)
OKLCHoklch(60.52% 0.107 226.7)
XYZxyz(18.4660, 22.9385, 46.0934)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EB3 #B34722
analogous
#22B390 #228EB3 #2246B3
triadic
#228EB3 #B3228E #8EB322
tetradic
#228EB3 #9022B3 #B34722 #46B322
square
#228EB3 #9022B3 #B34722 #46B322
split-complementary
#228EB3 #B32246 #B39022
monochromatic
#0E3C4C #186580 #228EB3 #39B0D9 #6CC5E3

Accessibility & contrast

On white

3.76
#228EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#228EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EB3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EB3#FFFFFF#000000##000000
##228EB31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB5
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228eb3;
/* rgb */ color: rgb(34, 142, 179);
/* oklch */ color: oklch(60.5% 0.107 226.7);
Tailwind
colors: {
  custom: {
    50: '#76afca',
    500: '#228eb3',
    950: '#000000',
  },
}
SCSS
$custom: #228eb3;
$custom-light: #76afca;
$custom-dark: #000000;
JSON
{
  "hex": "#228eb3",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 195.31,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60517,
    "c": 0.10718,
    "h": 226.7
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#228EB3
secondary
#C98068
accent
#693DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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