#227D8A#227D8A

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

Color values

HEX#227D8A
RGBrgb(34, 125, 138)
HSLhsl(188, 60%, 34%)
HSVhsv(188, 75%, 54%)
CMYKcmyk(75.4%, 9.4%, 0%, 45.9%)
CIE-LABlab(48.06, -21.31, -14.62)
CIE-LCHlch(48.06, 25.85, 214.46°)
OKLaboklab(54.39% -0.0732 -0.0407)
OKLCHoklch(54.39% 0.084 209)
XYZxyz(12.5788, 16.8408, 26.6275)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D8A #8A2F22
analogous
#228A63 #227D8A #22498A
triadic
#227D8A #8A227D #7D8A22
tetradic
#227D8A #63228A #8A2F22 #498A22
square
#227D8A #63228A #8A2F22 #498A22
split-complementary
#227D8A #8A2249 #8A6322
monochromatic
#0A2428 #165159 #227D8A #2EA9BB #52C4D4

Accessibility & contrast

On white

4.81
#227D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227D8A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D8A#FFFFFF#000000##FFFFFF
##227D8A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227d8a;
/* rgb */ color: rgb(34, 125, 138);
/* oklch */ color: oklch(54.4% 0.084 209.0);
Tailwind
colors: {
  custom: {
    50: '#6ea3ac',
    500: '#227d8a',
    950: '#000000',
  },
}
SCSS
$custom: #227d8a;
$custom-light: #6ea3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227d8a",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 187.5,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54394,
    "c": 0.08378,
    "h": 209
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#227D8A
secondary
#B85D50
accent
#5844E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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