#227987#227987

#227987 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.082 H 210.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227987
RGBrgb(34, 121, 135)
HSLhsl(188, 60%, 33%)
HSVhsv(188, 75%, 53%)
CMYKcmyk(74.8%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.66, -20.18, -14.97)
CIE-LCHlch(46.66, 25.13, 216.58°)
OKLaboklab(53.23% -0.0703 -0.0417)
OKLCHoklch(53.23% 0.082 210.6)
XYZxyz(11.8684, 15.7627, 25.3340)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227987 #873022
analogous
#228762 #227987 #224687
triadic
#227987 #872279 #798722
tetradic
#227987 #622287 #873022 #468722
square
#227987 #622287 #873022 #468722
split-complementary
#227987 #872246 #876222
monochromatic
#092125 #164D56 #227987 #2EA5B8 #50C1D3

Accessibility & contrast

On white

5.06
#227987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227987#FFFFFF#000000##FFFFFF
##2279871.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)
#6D7488
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227987;
/* rgb */ color: rgb(34, 121, 135);
/* oklch */ color: oklch(53.2% 0.082 210.6);
Tailwind
colors: {
  custom: {
    50: '#6da0aa',
    500: '#227987',
    950: '#000000',
  },
}
SCSS
$custom: #227987;
$custom-light: #6da0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227987",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 188.317,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.08175,
    "h": 210.6
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#227987
secondary
#B75D4E
accent
#5B45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227987

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

Preview Lab → · Contrast checker → · Palette generator →

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