#227A8B#227A8B

#227A8B is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.7% C 0.084 H 213.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#227A8B
RGBrgb(34, 122, 139)
HSLhsl(190, 61%, 34%)
HSVhsv(190, 76%, 55%)
CMYKcmyk(75.5%, 12.2%, 0%, 45.5%)
CIE-LABlab(47.13, -19.38, -16.62)
CIE-LCHlch(47.13, 25.53, 220.62°)
OKLaboklab(53.66% -0.0696 -0.0463)
OKLCHoklch(53.66% 0.084 213.6)
XYZxyz(12.2774, 16.1218, 26.8858)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A8B #8B3322
analogous
#228B68 #227A8B #22468B
triadic
#227A8B #8B227A #7A8B22
tetradic
#227A8B #68228B #8B3322 #468B22
square
#227A8B #68228B #8B3322 #468B22
split-complementary
#227A8B #8B2246 #8B6822
monochromatic
#0A2429 #164F5A #227A8B #2EA5BC #53C0D5

Accessibility & contrast

On white

4.97
#227A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#227A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A8B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A8B#FFFFFF#000000##FFFFFF
##227A8B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227a8b;
/* rgb */ color: rgb(34, 122, 139);
/* oklch */ color: oklch(53.7% 0.084 213.6);
Tailwind
colors: {
  custom: {
    50: '#6ea0ad',
    500: '#227a8b',
    950: '#000000',
  },
}
SCSS
$custom: #227a8b;
$custom-light: #6ea0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#227a8b",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 139
  },
  "hsl": {
    "h": 189.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.08365,
    "h": 213.6
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#227A8B
secondary
#B86150
accent
#5E44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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