#227887#227887

#227887 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 53.0% C 0.082 H 211.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#227887
RGBrgb(34, 120, 135)
HSLhsl(189, 60%, 33%)
HSVhsv(189, 75%, 53%)
CMYKcmyk(74.8%, 11.1%, 0%, 47.1%)
CIE-LABlab(46.34, -19.64, -15.46)
CIE-LCHlch(46.34, 25.00, 218.21°)
OKLaboklab(52.97% -0.0693 -0.043)
OKLCHoklch(52.97% 0.082 211.9)
XYZxyz(11.7475, 15.5209, 25.2937)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227887 #873122
analogous
#228763 #227887 #224587
triadic
#227887 #872278 #788722
tetradic
#227887 #632287 #873122 #458722
square
#227887 #632287 #873122 #458722
split-complementary
#227887 #872245 #876322
monochromatic
#092125 #164D56 #227887 #2EA3B8 #50C0D3

Accessibility & contrast

On white

5.12
#227887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227887
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227887#FFFFFF#000000##FFFFFF
##2278871.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7488
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227887;
/* rgb */ color: rgb(34, 120, 135);
/* oklch */ color: oklch(53.0% 0.082 211.9);
Tailwind
colors: {
  custom: {
    50: '#6d9faa',
    500: '#227887',
    950: '#000000',
  },
}
SCSS
$custom: #227887;
$custom-light: #6d9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#227887",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 135
  },
  "hsl": {
    "h": 188.911,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.08156,
    "h": 211.9
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#227887
secondary
#B75E4E
accent
#5C45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227887

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

Preview Lab → · Contrast checker → · Palette generator →

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