#227E8B#227E8B

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

Color values

HEX#227E8B
RGBrgb(34, 126, 139)
HSLhsl(187, 61%, 34%)
HSVhsv(187, 76%, 55%)
CMYKcmyk(75.5%, 9.4%, 0%, 45.5%)
CIE-LABlab(48.42, -21.51, -14.67)
CIE-LCHlch(48.42, 26.04, 214.29°)
OKLaboklab(54.7% -0.0738 -0.0408)
OKLCHoklch(54.7% 0.084 208.9)
XYZxyz(12.7787, 17.1243, 27.0529)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E8B #8B2F22
analogous
#228B64 #227E8B #224A8B
triadic
#227E8B #8B227E #7E8B22
tetradic
#227E8B #64228B #8B2F22 #4A8B22
square
#227E8B #64228B #8B2F22 #4A8B22
split-complementary
#227E8B #8B224A #8B6422
monochromatic
#0A2529 #16515A #227E8B #2EABBC #53C5D5

Accessibility & contrast

On white

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

On black

4.43
#227E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227E8B#FFFFFF#000000##FFFFFF
##227E8B1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798C
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227e8b;
/* rgb */ color: rgb(34, 126, 139);
/* oklch */ color: oklch(54.7% 0.084 208.9);
Tailwind
colors: {
  custom: {
    50: '#6fa3ac',
    500: '#227e8b',
    950: '#000000',
  },
}
SCSS
$custom: #227e8b;
$custom-light: #6fa3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227e8b",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 187.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.08438,
    "h": 208.9
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#227E8B
secondary
#B85D50
accent
#5844E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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