#227E8A#227E8A

#227E8A is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.7% C 0.084 H 207.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#227E8A
RGBrgb(34, 126, 138)
HSLhsl(187, 60%, 34%)
HSVhsv(187, 75%, 54%)
CMYKcmyk(75.4%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.38, -21.84, -14.14)
CIE-LCHlch(48.38, 26.02, 212.91°)
OKLaboklab(54.65% -0.0743 -0.0393)
OKLCHoklch(54.65% 0.084 207.9)
XYZxyz(12.7060, 17.0953, 26.6699)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E8A #8A2E22
analogous
#228A62 #227E8A #224A8A
triadic
#227E8A #8A227E #7E8A22
tetradic
#227E8A #62228A #8A2E22 #4A8A22
square
#227E8A #62228A #8A2E22 #4A8A22
split-complementary
#227E8A #8A224A #8A6222
monochromatic
#0A2428 #165159 #227E8A #2EABBB #52C5D4

Accessibility & contrast

On white

4.75
#227E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#227E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E8A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E8A#FFFFFF#000000##FFFFFF
##227E8A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227e8a;
/* rgb */ color: rgb(34, 126, 138);
/* oklch */ color: oklch(54.7% 0.084 207.9);
Tailwind
colors: {
  custom: {
    50: '#6ea3ac',
    500: '#227e8a',
    950: '#000000',
  },
}
SCSS
$custom: #227e8a;
$custom-light: #6ea3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227e8a",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 186.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.08405,
    "h": 207.9
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#227E8A
secondary
#B85C50
accent
#5744E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227E8A

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

Preview Lab → · Contrast checker → · Palette generator →

#227E8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva