#227B8B#227B8B

#227B8B is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.9% C 0.084 H 212.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#227B8B
RGBrgb(34, 123, 139)
HSLhsl(189, 61%, 34%)
HSVhsv(189, 76%, 55%)
CMYKcmyk(75.5%, 11.5%, 0%, 45.5%)
CIE-LABlab(47.45, -19.92, -16.13)
CIE-LCHlch(47.45, 25.63, 219.01°)
OKLaboklab(53.92% -0.0707 -0.0449)
OKLCHoklch(53.92% 0.084 212.4)
XYZxyz(12.4008, 16.3686, 26.9270)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B8B #8B3222
analogous
#228B67 #227B8B #22478B
triadic
#227B8B #8B227B #7B8B22
tetradic
#227B8B #67228B #8B3222 #478B22
square
#227B8B #67228B #8B3222 #478B22
split-complementary
#227B8B #8B2247 #8B6722
monochromatic
#0A2429 #164F5A #227B8B #2EA7BC #53C1D5

Accessibility & contrast

On white

4.91
#227B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#227B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B8B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B8B#FFFFFF#000000##FFFFFF
##227B8B1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F778C
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227b8b;
/* rgb */ color: rgb(34, 123, 139);
/* oklch */ color: oklch(53.9% 0.084 212.4);
Tailwind
colors: {
  custom: {
    50: '#6ea1ac',
    500: '#227b8b',
    950: '#000000',
  },
}
SCSS
$custom: #227b8b;
$custom-light: #6ea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227b8b",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 139
  },
  "hsl": {
    "h": 189.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.08377,
    "h": 212.4
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#227B8B
secondary
#B86050
accent
#5C44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #227B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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