#228CA8#228CA8

#228CA8 is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.5% C 0.100 H 220.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#228CA8
RGBrgb(34, 140, 168)
HSLhsl(193, 66%, 40%)
HSVhsv(193, 80%, 66%)
CMYKcmyk(79.8%, 16.7%, 0%, 34.1%)
CIE-LABlab(53.94, -19.20, -23.09)
CIE-LCHlch(53.94, 30.03, 230.25°)
OKLaboklab(59.51% -0.0759 -0.0646)
OKLCHoklch(59.51% 0.1 220.4)
XYZxyz(17.1027, 21.9213, 40.3680)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CA8 #A83E22
analogous
#22A881 #228CA8 #2249A8
triadic
#228CA8 #A8228C #8CA822
tetradic
#228CA8 #8122A8 #A83E22 #49A822
square
#228CA8 #8122A8 #A83E22 #49A822
split-complementary
#228CA8 #A82249 #A88122
monochromatic
#0D3742 #186275 #228CA8 #32B3D5 #65C6E0

Accessibility & contrast

On white

3.90
#228CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#228CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CA8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CA8#FFFFFF#000000##000000
##228CA81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B88A9
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228ca8;
/* rgb */ color: rgb(34, 140, 168);
/* oklch */ color: oklch(59.5% 0.100 220.4);
Tailwind
colors: {
  custom: {
    50: '#74adc2',
    500: '#228ca8',
    950: '#000000',
  },
}
SCSS
$custom: #228ca8;
$custom-light: #74adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#228ca8",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 192.537,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.09968,
    "h": 220.4
  },
  "luminance": 0.21923
}

Semantic roles & 50–950 ramp

primary
#228CA8
secondary
#C57661
accent
#623FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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