#227781#227781

#227781 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.5% C 0.079 H 206.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#227781
RGBrgb(34, 119, 129)
HSLhsl(186, 58%, 32%)
HSVhsv(186, 74%, 51%)
CMYKcmyk(73.6%, 7.8%, 0%, 49.4%)
CIE-LABlab(45.79, -21.10, -12.73)
CIE-LCHlch(45.79, 24.64, 211.10°)
OKLaboklab(52.46% -0.0709 -0.0354)
OKLCHoklch(52.46% 0.079 206.5)
XYZxyz(11.2172, 15.1174, 23.0914)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227781 #812C22
analogous
#22815C #227781 #224881
triadic
#227781 #812277 #778122
tetradic
#227781 #5C2281 #812C22 #488122
square
#227781 #5C2281 #812C22 #488122
split-complementary
#227781 #812248 #815C22
monochromatic
#081E20 #154A51 #227781 #2FA4B1 #4DC2D0

Accessibility & contrast

On white

5.22
#227781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#227781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227781
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227781#FFFFFF#000000##FFFFFF
##2277811.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7282
Deuteranopia (green-blind)
#5F6881
Tritanopia (blue-blind)
#007C7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227781;
/* rgb */ color: rgb(34, 119, 129);
/* oklch */ color: oklch(52.5% 0.079 206.5);
Tailwind
colors: {
  custom: {
    50: '#6c9ea5',
    500: '#227781',
    950: '#000000',
  },
}
SCSS
$custom: #227781;
$custom-light: #6c9ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#227781",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 129
  },
  "hsl": {
    "h": 186.316,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.07919,
    "h": 206.5
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#227781
secondary
#B3564B
accent
#5746E1
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #227781

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

Preview Lab → · Contrast checker → · Palette generator →

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