#227882#227882

#227882 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.080 H 206.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#227882
RGBrgb(34, 120, 130)
HSLhsl(186, 59%, 32%)
HSVhsv(186, 74%, 51%)
CMYKcmyk(73.8%, 7.7%, 0%, 49%)
CIE-LABlab(46.15, -21.30, -12.78)
CIE-LCHlch(46.15, 24.84, 210.95°)
OKLaboklab(52.76% -0.0715 -0.0355)
OKLCHoklch(52.76% 0.08 206.4)
XYZxyz(11.4037, 15.3834, 23.4830)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227882 #822C22
analogous
#22825C #227882 #224882
triadic
#227882 #822278 #788222
tetradic
#227882 #5C2282 #822C22 #488222
square
#227882 #5C2282 #822C22 #488222
split-complementary
#227882 #822248 #825C22
monochromatic
#091E21 #154B51 #227882 #2FA5B3 #4EC3D1

Accessibility & contrast

On white

5.15
#227882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#227882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227882
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227882#FFFFFF#000000##FFFFFF
##2278821.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7383
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227882;
/* rgb */ color: rgb(34, 120, 130);
/* oklch */ color: oklch(52.8% 0.080 206.4);
Tailwind
colors: {
  custom: {
    50: '#6d9fa6',
    500: '#227882',
    950: '#000000',
  },
}
SCSS
$custom: #227882;
$custom-light: #6d9fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#227882",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 186.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.07981,
    "h": 206.4
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#227882
secondary
#B4574C
accent
#5646E2
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #227882

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

Preview Lab → · Contrast checker → · Palette generator →

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