#227782#227782

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

Color values

HEX#227782
RGBrgb(34, 119, 130)
HSLhsl(187, 59%, 32%)
HSVhsv(187, 74%, 51%)
CMYKcmyk(73.8%, 8.5%, 0%, 49%)
CIE-LABlab(45.83, -20.77, -13.27)
CIE-LCHlch(45.83, 24.65, 212.57°)
OKLaboklab(52.5% -0.0704 -0.0369)
OKLCHoklch(52.5% 0.079 207.6)
XYZxyz(11.2840, 15.1441, 23.4432)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227782 #822D22
analogous
#22825D #227782 #224782
triadic
#227782 #822277 #778222
tetradic
#227782 #5D2282 #822D22 #478222
square
#227782 #5D2282 #822D22 #478222
split-complementary
#227782 #822247 #825D22
monochromatic
#091E21 #154B51 #227782 #2FA3B3 #4EC2D1

Accessibility & contrast

On white

5.21
#227782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#227782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227782
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227782#FFFFFF#000000##FFFFFF
##2277821.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7283
Deuteranopia (green-blind)
#5F6882
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227782;
/* rgb */ color: rgb(34, 119, 130);
/* oklch */ color: oklch(52.5% 0.079 207.6);
Tailwind
colors: {
  custom: {
    50: '#6d9ea6',
    500: '#227782',
    950: '#000000',
  },
}
SCSS
$custom: #227782;
$custom-light: #6d9ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#227782",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 130
  },
  "hsl": {
    "h": 186.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.07948,
    "h": 207.6
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#227782
secondary
#B4584C
accent
#5846E2
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #227782

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

Preview Lab → · Contrast checker → · Palette generator →

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