#227B8A#227B8A

#227B8A is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.9% C 0.083 H 211.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#227B8A
RGBrgb(34, 123, 138)
HSLhsl(189, 60%, 34%)
HSVhsv(189, 75%, 54%)
CMYKcmyk(75.4%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.42, -20.25, -15.60)
CIE-LCHlch(47.42, 25.56, 217.61°)
OKLaboklab(53.88% -0.0711 -0.0434)
OKLCHoklch(53.88% 0.083 211.4)
XYZxyz(12.3281, 16.3395, 26.5439)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B8A #8A3122
analogous
#228A65 #227B8A #22478A
triadic
#227B8A #8A227B #7B8A22
tetradic
#227B8A #65228A #8A3122 #478A22
square
#227B8A #65228A #8A3122 #478A22
split-complementary
#227B8A #8A2247 #8A6522
monochromatic
#0A2328 #164F59 #227B8A #2EA7BB #52C2D4

Accessibility & contrast

On white

4.92
#227B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227B8A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B8A#FFFFFF#000000##FFFFFF
##227B8A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227b8a;
/* rgb */ color: rgb(34, 123, 138);
/* oklch */ color: oklch(53.9% 0.083 211.4);
Tailwind
colors: {
  custom: {
    50: '#6ea1ac',
    500: '#227b8a',
    950: '#000000',
  },
}
SCSS
$custom: #227b8a;
$custom-light: #6ea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227b8a",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 188.654,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.08334,
    "h": 211.4
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#227B8A
secondary
#B85F50
accent
#5B44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #227B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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