#228AA5#228AA5

#228AA5 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 58.9% C 0.098 H 220.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#228AA5
RGBrgb(34, 138, 165)
HSLhsl(192, 66%, 39%)
HSVhsv(192, 79%, 65%)
CMYKcmyk(79.4%, 16.4%, 0%, 35.3%)
CIE-LABlab(53.20, -19.15, -22.50)
CIE-LCHlch(53.20, 29.55, 229.59°)
OKLaboklab(58.88% -0.0751 -0.063)
OKLCHoklch(58.88% 0.098 220)
XYZxyz(16.5368, 21.2316, 38.8166)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AA5 #A53D22
analogous
#22A57F #228AA5 #2249A5
triadic
#228AA5 #A5228A #8AA522
tetradic
#228AA5 #7F22A5 #A53D22 #49A522
square
#228AA5 #7F22A5 #A53D22 #49A522
split-complementary
#228AA5 #A52249 #A57F22
monochromatic
#0D3540 #186072 #228AA5 #30B2D4 #63C5DF

Accessibility & contrast

On white

4.00
#228AA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#228AA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AA5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AA5#FFFFFF#000000##000000
##228AA51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7986A6
Deuteranopia (green-blind)
#687AA5
Tritanopia (blue-blind)
#009393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228aa5;
/* rgb */ color: rgb(34, 138, 165);
/* oklch */ color: oklch(58.9% 0.098 220.0);
Tailwind
colors: {
  custom: {
    50: '#74acbf',
    500: '#228aa5',
    950: '#000000',
  },
}
SCSS
$custom: #228aa5;
$custom-light: #74acbf;
$custom-dark: #000000;
JSON
{
  "hex": "#228aa5",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 165
  },
  "hsl": {
    "h": 192.366,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.09802,
    "h": 220
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#228AA5
secondary
#C4745F
accent
#623FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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