#227786#227786

#227786 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.081 H 212.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#227786
RGBrgb(34, 119, 134)
HSLhsl(189, 60%, 33%)
HSVhsv(189, 75%, 53%)
CMYKcmyk(74.6%, 11.2%, 0%, 47.5%)
CIE-LABlab(45.98, -19.44, -15.42)
CIE-LCHlch(45.98, 24.81, 218.42°)
OKLaboklab(52.67% -0.0686 -0.0429)
OKLCHoklch(52.67% 0.081 212)
XYZxyz(11.5577, 15.2536, 24.8847)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227786 #863122
analogous
#228663 #227786 #224586
triadic
#227786 #862277 #778622
tetradic
#227786 #632286 #863122 #458622
square
#227786 #632286 #863122 #458622
split-complementary
#227786 #862245 #866322
monochromatic
#092024 #164C55 #227786 #2EA2B7 #50BFD3

Accessibility & contrast

On white

5.18
#227786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#227786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227786
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227786#FFFFFF#000000##FFFFFF
##2277861.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7387
Deuteranopia (green-blind)
#5D6886
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227786;
/* rgb */ color: rgb(34, 119, 134);
/* oklch */ color: oklch(52.7% 0.081 212.0);
Tailwind
colors: {
  custom: {
    50: '#6d9ea9',
    500: '#227786',
    950: '#000000',
  },
}
SCSS
$custom: #227786;
$custom-light: #6d9ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#227786",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 134
  },
  "hsl": {
    "h": 189,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.08097,
    "h": 212
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#227786
secondary
#B65D4E
accent
#5D45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #227786

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

Preview Lab → · Contrast checker → · Palette generator →

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