#228AAA#228AAA

#228AAA is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.1% C 0.101 H 223.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#228AAA
RGBrgb(34, 138, 170)
HSLhsl(194, 67%, 40%)
HSVhsv(194, 80%, 67%)
CMYKcmyk(80%, 18.8%, 0%, 33.3%)
CIE-LABlab(53.40, -17.43, -25.07)
CIE-LCHlch(53.40, 30.53, 235.18°)
OKLaboklab(59.11% -0.0731 -0.0703)
OKLCHoklch(59.11% 0.101 223.9)
XYZxyz(17.0008, 21.4172, 41.2603)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AAA #AA4222
analogous
#22AA86 #228AAA #2246AA
triadic
#228AAA #AA228A #8AAA22
tetradic
#228AAA #8622AA #AA4222 #46AA22
square
#228AAA #8622AA #AA4222 #46AA22
split-complementary
#228AAA #AA2246 #AA8622
monochromatic
#0E3744 #186177 #228AAA #33B0D6 #66C4E0

Accessibility & contrast

On white

3.97
#228AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#228AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AAA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AAA#FFFFFF#000000##000000
##228AAA1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AC
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #228aaa;
/* rgb */ color: rgb(34, 138, 170);
/* oklch */ color: oklch(59.1% 0.101 223.9);
Tailwind
colors: {
  custom: {
    50: '#74acc3',
    500: '#228aaa',
    950: '#000000',
  },
}
SCSS
$custom: #228aaa;
$custom-light: #74acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#228aaa",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 194.118,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.10145,
    "h": 223.9
  },
  "luminance": 0.21419
}

Semantic roles & 50–950 ramp

primary
#228AAA
secondary
#C67962
accent
#673EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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