#228EAF#228EAF

#228EAF is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.3% C 0.104 H 223.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#228EAF
RGBrgb(34, 142, 175)
HSLhsl(194, 67%, 41%)
HSVhsv(194, 81%, 69%)
CMYKcmyk(80.6%, 18.9%, 0%, 31.4%)
CIE-LABlab(54.84, -17.87, -25.71)
CIE-LCHlch(54.84, 31.31, 235.20°)
OKLaboklab(60.33% -0.0751 -0.0721)
OKLCHoklch(60.33% 0.104 223.8)
XYZxyz(18.0673, 22.7790, 43.9937)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EAF #AF4322
analogous
#22AF89 #228EAF #2247AF
triadic
#228EAF #AF228E #8EAF22
tetradic
#228EAF #8922AF #AF4322 #47AF22
square
#228EAF #8922AF #AF4322 #47AF22
split-complementary
#228EAF #AF2247 #AF8922
monochromatic
#0E3B49 #18647C #228EAF #36B2D8 #69C6E2

Accessibility & contrast

On white

3.78
#228EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#228EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EAF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EAF#FFFFFF#000000##000000
##228EAF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB1
Deuteranopia (green-blind)
#697DAF
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #228eaf;
/* rgb */ color: rgb(34, 142, 175);
/* oklch */ color: oklch(60.3% 0.104 223.8);
Tailwind
colors: {
  custom: {
    50: '#75afc7',
    500: '#228eaf',
    950: '#000000',
  },
}
SCSS
$custom: #228eaf;
$custom-light: #75afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#228eaf",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 175
  },
  "hsl": {
    "h": 194.043,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.10411,
    "h": 223.8
  },
  "luminance": 0.22781
}

Semantic roles & 50–950 ramp

primary
#228EAF
secondary
#C87C65
accent
#663DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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