#227986#227986

#227986 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.081 H 209.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227986
RGBrgb(34, 121, 134)
HSLhsl(188, 60%, 33%)
HSVhsv(188, 75%, 53%)
CMYKcmyk(74.6%, 9.7%, 0%, 47.5%)
CIE-LABlab(46.62, -20.51, -14.44)
CIE-LCHlch(46.62, 25.08, 215.14°)
OKLaboklab(53.19% -0.0708 -0.0402)
OKLCHoklch(53.19% 0.081 209.6)
XYZxyz(11.7983, 15.7347, 24.9649)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227986 #862F22
analogous
#228661 #227986 #224786
triadic
#227986 #862279 #798622
tetradic
#227986 #612286 #862F22 #478622
square
#227986 #612286 #862F22 #478622
split-complementary
#227986 #862247 #866122
monochromatic
#092124 #164D55 #227986 #2EA5B7 #50C2D3

Accessibility & contrast

On white

5.06
#227986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227986
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227986#FFFFFF#000000##FFFFFF
##2279861.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7487
Deuteranopia (green-blind)
#606A86
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227986;
/* rgb */ color: rgb(34, 121, 134);
/* oklch */ color: oklch(53.2% 0.081 209.6);
Tailwind
colors: {
  custom: {
    50: '#6da0a9',
    500: '#227986',
    950: '#000000',
  },
}
SCSS
$custom: #227986;
$custom-light: #6da0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#227986",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 187.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.08137,
    "h": 209.6
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#227986
secondary
#B65B4E
accent
#5A45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #227986

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

Preview Lab → · Contrast checker → · Palette generator →

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