#228AA1#228AA1

#228AA1 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 58.7% C 0.096 H 216.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#228AA1
RGBrgb(34, 138, 161)
HSLhsl(191, 65%, 38%)
HSVhsv(191, 79%, 63%)
CMYKcmyk(78.9%, 14.3%, 0%, 36.9%)
CIE-LABlab(53.05, -20.51, -20.43)
CIE-LCHlch(53.05, 28.95, 224.89°)
OKLaboklab(58.7% -0.0767 -0.0571)
OKLCHoklch(58.7% 0.096 216.6)
XYZxyz(16.1784, 21.0883, 36.9291)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AA1 #A13922
analogous
#22A178 #228AA1 #224AA1
triadic
#228AA1 #A1228A #8AA122
tetradic
#228AA1 #7822A1 #A13922 #4AA122
square
#228AA1 #7822A1 #A13922 #4AA122
split-complementary
#228AA1 #A1224A #A17822
monochromatic
#0D333C #175F6E #228AA1 #2DB5D3 #60C7DD

Accessibility & contrast

On white

4.02
#228AA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#228AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AA1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AA1#FFFFFF#000000##000000
##228AA11.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B86A2
Deuteranopia (green-blind)
#6A79A1
Tritanopia (blue-blind)
#009291
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228aa1;
/* rgb */ color: rgb(34, 138, 161);
/* oklch */ color: oklch(58.7% 0.096 216.6);
Tailwind
colors: {
  custom: {
    50: '#73acbc',
    500: '#228aa1',
    950: '#000000',
  },
}
SCSS
$custom: #228aa1;
$custom-light: #73acbc;
$custom-dark: #000000;
JSON
{
  "hex": "#228aa1",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 161
  },
  "hsl": {
    "h": 190.866,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.09564,
    "h": 216.6
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#228AA1
secondary
#C26F5D
accent
#5E40E8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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