#227C8D#227C8D

#227C8D is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.3% C 0.085 H 213.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#227C8D
RGBrgb(34, 124, 141)
HSLhsl(190, 61%, 34%)
HSVhsv(190, 76%, 55%)
CMYKcmyk(75.9%, 12.1%, 0%, 44.7%)
CIE-LABlab(47.85, -19.78, -16.71)
CIE-LCHlch(47.85, 25.89, 220.19°)
OKLaboklab(54.26% -0.0709 -0.0466)
OKLCHoklch(54.26% 0.085 213.3)
XYZxyz(12.6730, 16.6770, 27.7452)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C8D #8D3322
analogous
#228D69 #227C8D #22478D
triadic
#227C8D #8D227C #7C8D22
tetradic
#227C8D #69228D #8D3322 #478D22
square
#227C8D #69228D #8D3322 #478D22
split-complementary
#227C8D #8D2247 #8D6922
monochromatic
#0A252A #16515C #227C8D #2EA7BE #54C1D6

Accessibility & contrast

On white

4.84
#227C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#227C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C8D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C8D#FFFFFF#000000##FFFFFF
##227C8D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F788E
Deuteranopia (green-blind)
#616D8D
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227c8d;
/* rgb */ color: rgb(34, 124, 141);
/* oklch */ color: oklch(54.3% 0.085 213.3);
Tailwind
colors: {
  custom: {
    50: '#6fa2ae',
    500: '#227c8d',
    950: '#000000',
  },
}
SCSS
$custom: #227c8d;
$custom-light: #6fa2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#227c8d",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 189.533,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.08481,
    "h": 213.3
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#227C8D
secondary
#B96251
accent
#5D44E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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