#227A7E#227A7E

#227A7E is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.1% C 0.080 H 199.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227A7E
RGBrgb(34, 122, 126)
HSLhsl(183, 58%, 31%)
HSVhsv(183, 73%, 49%)
CMYKcmyk(73%, 3.2%, 0%, 50.6%)
CIE-LABlab(46.66, -23.64, -9.63)
CIE-LCHlch(46.66, 25.53, 202.17°)
OKLaboklab(53.13% -0.0755 -0.0267)
OKLCHoklch(53.13% 0.08 199.5)
XYZxyz(11.3834, 15.7642, 22.1775)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A7E #7E2622
analogous
#227E54 #227A7E #224C7E
triadic
#227A7E #7E227A #7A7E22
tetradic
#227A7E #54227E #7E2622 #4C7E22
square
#227A7E #54227E #7E2622 #4C7E22
split-complementary
#227A7E #7E224C #7E5422
monochromatic
#081D1E #154B4E #227A7E #2FA9AE #4CC9CF

Accessibility & contrast

On white

5.06
#227A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227A7E#FFFFFF#000000##FFFFFF
##227A7E1.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)
#71747E
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227a7e;
/* rgb */ color: rgb(34, 122, 126);
/* oklch */ color: oklch(53.1% 0.080 199.5);
Tailwind
colors: {
  custom: {
    50: '#6da1a3',
    500: '#227a7e',
    950: '#000000',
  },
}
SCSS
$custom: #227a7e;
$custom-light: #6da1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#227a7e",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 126
  },
  "hsl": {
    "h": 182.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.08006,
    "h": 199.5
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#227A7E
secondary
#B1504B
accent
#4E47E1
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #227A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#227A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva