#227E8D#227E8D

#227E8D is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.085 H 211.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#227E8D
RGBrgb(34, 126, 141)
HSLhsl(188, 61%, 34%)
HSVhsv(188, 76%, 55%)
CMYKcmyk(75.9%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.49, -20.85, -15.73)
CIE-LCHlch(48.49, 26.12, 217.04°)
OKLaboklab(54.78% -0.073 -0.0438)
OKLCHoklch(54.78% 0.085 211)
XYZxyz(12.9262, 17.1833, 27.8296)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E8D #8D3122
analogous
#228D67 #227E8D #22498D
triadic
#227E8D #8D227E #7E8D22
tetradic
#227E8D #67228D #8D3122 #498D22
square
#227E8D #67228D #8D3122 #498D22
split-complementary
#227E8D #8D2249 #8D6722
monochromatic
#0A262A #16525C #227E8D #2EAABE #54C3D6

Accessibility & contrast

On white

4.73
#227E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#227E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E8D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E8D#FFFFFF#000000##FFFFFF
##227E8D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798E
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227e8d;
/* rgb */ color: rgb(34, 126, 141);
/* oklch */ color: oklch(54.8% 0.085 211.0);
Tailwind
colors: {
  custom: {
    50: '#6fa3ae',
    500: '#227e8d',
    950: '#000000',
  },
}
SCSS
$custom: #227e8d;
$custom-light: #6fa3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#227e8d",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 188.411,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.08511,
    "h": 211
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#227E8D
secondary
#B96051
accent
#5A44E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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