#227988#227988

#227988 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.082 H 211.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#227988
RGBrgb(34, 121, 136)
HSLhsl(189, 60%, 33%)
HSVhsv(189, 75%, 53%)
CMYKcmyk(75%, 11%, 0%, 46.7%)
CIE-LABlab(46.70, -19.85, -15.51)
CIE-LCHlch(46.70, 25.19, 218.01°)
OKLaboklab(53.27% -0.0699 -0.0432)
OKLCHoklch(53.27% 0.082 211.7)
XYZxyz(11.9391, 15.7910, 25.7065)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227988 #883122
analogous
#228864 #227988 #224688
triadic
#227988 #882279 #798822
tetradic
#227988 #642288 #883122 #468822
square
#227988 #642288 #883122 #468822
split-complementary
#227988 #882246 #886422
monochromatic
#0A2226 #164D57 #227988 #2EA5B9 #51C0D3

Accessibility & contrast

On white

5.05
#227988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227988
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227988#FFFFFF#000000##FFFFFF
##2279881.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7589
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227988;
/* rgb */ color: rgb(34, 121, 136);
/* oklch */ color: oklch(53.3% 0.082 211.7);
Tailwind
colors: {
  custom: {
    50: '#6ea0aa',
    500: '#227988',
    950: '#000000',
  },
}
SCSS
$custom: #227988;
$custom-light: #6ea0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227988",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 136
  },
  "hsl": {
    "h": 188.824,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.08215,
    "h": 211.7
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#227988
secondary
#B75E4F
accent
#5C45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227988

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

Preview Lab → · Contrast checker → · Palette generator →

#227988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva