#228BA1#228BA1

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

Color values

HEX#228BA1
RGBrgb(34, 139, 161)
HSLhsl(190, 65%, 38%)
HSVhsv(190, 79%, 63%)
CMYKcmyk(78.9%, 13.7%, 0%, 36.9%)
CIE-LABlab(53.36, -21.04, -19.95)
CIE-LCHlch(53.36, 29.00, 223.48°)
OKLaboklab(58.95% -0.0777 -0.0557)
OKLCHoklch(58.95% 0.096 215.6)
XYZxyz(16.3226, 21.3765, 36.9771)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BA1 #A13822
analogous
#22A177 #228BA1 #224BA1
triadic
#228BA1 #A1228B #8BA122
tetradic
#228BA1 #7722A1 #A13822 #4BA122
square
#228BA1 #7722A1 #A13822 #4BA122
split-complementary
#228BA1 #A1224B #A17722
monochromatic
#0D343C #175F6E #228BA1 #2DB6D3 #60C8DD

Accessibility & contrast

On white

3.98
#228BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228BA1#FFFFFF#000000##000000
##228BA11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C86A2
Deuteranopia (green-blind)
#6B7AA1
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228ba1;
/* rgb */ color: rgb(34, 139, 161);
/* oklch */ color: oklch(59.0% 0.096 215.6);
Tailwind
colors: {
  custom: {
    50: '#73adbc',
    500: '#228ba1',
    950: '#000000',
  },
}
SCSS
$custom: #228ba1;
$custom-light: #73adbc;
$custom-dark: #000000;
JSON
{
  "hex": "#228ba1",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 161
  },
  "hsl": {
    "h": 190.394,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.09565,
    "h": 215.6
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#228BA1
secondary
#C26E5D
accent
#5D40E8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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