#227D8B#227D8B

#227D8B is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.4% C 0.084 H 210.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#227D8B
RGBrgb(34, 125, 139)
HSLhsl(188, 61%, 34%)
HSVhsv(188, 76%, 55%)
CMYKcmyk(75.5%, 10.1%, 0%, 45.5%)
CIE-LABlab(48.10, -20.98, -15.16)
CIE-LCHlch(48.10, 25.88, 215.84°)
OKLaboklab(54.44% -0.0728 -0.0422)
OKLCHoklch(54.44% 0.084 210.1)
XYZxyz(12.6515, 16.8699, 27.0105)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D8B #8B3022
analogous
#228B65 #227D8B #22498B
triadic
#227D8B #8B227D #7D8B22
tetradic
#227D8B #65228B #8B3022 #498B22
square
#227D8B #65228B #8B3022 #498B22
split-complementary
#227D8B #8B2249 #8B6522
monochromatic
#0A2529 #16515A #227D8B #2EA9BC #53C3D5

Accessibility & contrast

On white

4.80
#227D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#227D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D8B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D8B#FFFFFF#000000##FFFFFF
##227D8B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788C
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227d8b;
/* rgb */ color: rgb(34, 125, 139);
/* oklch */ color: oklch(54.4% 0.084 210.1);
Tailwind
colors: {
  custom: {
    50: '#6ea3ac',
    500: '#227d8b',
    950: '#000000',
  },
}
SCSS
$custom: #227d8b;
$custom-light: #6ea3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227d8b",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 139
  },
  "hsl": {
    "h": 188,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.08414,
    "h": 210.1
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#227D8B
secondary
#B85E50
accent
#5944E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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