#228DAF#228DAF

#228DAF is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.1% C 0.104 H 224.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#228DAF
RGBrgb(34, 141, 175)
HSLhsl(194, 67%, 41%)
HSVhsv(194, 81%, 69%)
CMYKcmyk(80.6%, 19.4%, 0%, 31.4%)
CIE-LABlab(54.54, -17.33, -26.19)
CIE-LCHlch(54.54, 31.40, 236.50°)
OKLaboklab(60.08% -0.0741 -0.0735)
OKLCHoklch(60.08% 0.104 224.8)
XYZxyz(17.9192, 22.4828, 43.9443)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DAF #AF4422
analogous
#22AF8A #228DAF #2246AF
triadic
#228DAF #AF228D #8DAF22
tetradic
#228DAF #8A22AF #AF4422 #46AF22
square
#228DAF #8A22AF #AF4422 #46AF22
split-complementary
#228DAF #AF2246 #AF8A22
monochromatic
#0E3A49 #18647C #228DAF #36B1D8 #69C5E2

Accessibility & contrast

On white

3.82
#228DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#228DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DAF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DAF#FFFFFF#000000##000000
##228DAF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB1
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228daf;
/* rgb */ color: rgb(34, 141, 175);
/* oklch */ color: oklch(60.1% 0.104 224.8);
Tailwind
colors: {
  custom: {
    50: '#75aec7',
    500: '#228daf',
    950: '#000000',
  },
}
SCSS
$custom: #228daf;
$custom-light: #75aec7;
$custom-dark: #000000;
JSON
{
  "hex": "#228daf",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 194.468,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.10438,
    "h": 224.8
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#228DAF
secondary
#C87D65
accent
#673DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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