#227989#227989

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

Color values

HEX#227989
RGBrgb(34, 121, 137)
HSLhsl(189, 60%, 34%)
HSVhsv(189, 75%, 54%)
CMYKcmyk(75.2%, 11.7%, 0%, 46.3%)
CIE-LABlab(46.74, -19.51, -16.04)
CIE-LCHlch(46.74, 25.26, 219.43°)
OKLaboklab(53.32% -0.0695 -0.0447)
OKLCHoklch(53.32% 0.083 212.8)
XYZxyz(12.0105, 15.8195, 26.0825)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227989 #893222
analogous
#228965 #227989 #224589
triadic
#227989 #892279 #798922
tetradic
#227989 #652289 #893222 #458922
square
#227989 #652289 #893222 #458922
split-complementary
#227989 #892245 #896522
monochromatic
#0A2227 #164E58 #227989 #2EA4BA #51C0D4

Accessibility & contrast

On white

5.04
#227989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227989
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227989#FFFFFF#000000##FFFFFF
##2279891.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227989;
/* rgb */ color: rgb(34, 121, 137);
/* oklch */ color: oklch(53.3% 0.083 212.8);
Tailwind
colors: {
  custom: {
    50: '#6ea0ab',
    500: '#227989',
    950: '#000000',
  },
}
SCSS
$custom: #227989;
$custom-light: #6ea0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#227989",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 137
  },
  "hsl": {
    "h": 189.32,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.08259,
    "h": 212.8
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#227989
secondary
#B85F4F
accent
#5D44E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227989

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

Preview Lab → · Contrast checker → · Palette generator →

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