#228EB2#228EB2

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

Color values

HEX#228EB2
RGBrgb(34, 142, 178)
HSLhsl(195, 68%, 42%)
HSVhsv(195, 81%, 70%)
CMYKcmyk(80.9%, 20.2%, 0%, 30.2%)
CIE-LABlab(54.97, -16.83, -27.24)
CIE-LCHlch(54.97, 32.02, 238.28°)
OKLaboklab(60.47% -0.0739 -0.0765)
OKLCHoklch(60.47% 0.106 226)
XYZxyz(18.3652, 22.8981, 45.5627)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EB2 #B24622
analogous
#22B28E #228EB2 #2246B2
triadic
#228EB2 #B2228E #8EB222
tetradic
#228EB2 #8E22B2 #B24622 #46B222
square
#228EB2 #8E22B2 #B24622 #46B222
split-complementary
#228EB2 #B22246 #B28E22
monochromatic
#0E3C4B #18657F #228EB2 #38B1D9 #6CC5E3

Accessibility & contrast

On white

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

On black

5.58
#228EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EB2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EB2#FFFFFF#000000##000000
##228EB21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228eb2;
/* rgb */ color: rgb(34, 142, 178);
/* oklch */ color: oklch(60.5% 0.106 226.0);
Tailwind
colors: {
  custom: {
    50: '#76afc9',
    500: '#228eb2',
    950: '#000000',
  },
}
SCSS
$custom: #228eb2;
$custom-light: #76afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#228eb2",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 195,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.10639,
    "h": 226
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#228EB2
secondary
#C97F67
accent
#683DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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