#227F8A#227F8A

#227F8A is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.9% C 0.084 H 206.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#227F8A
RGBrgb(34, 127, 138)
HSLhsl(186, 60%, 34%)
HSVhsv(186, 75%, 54%)
CMYKcmyk(75.4%, 8%, 0%, 45.9%)
CIE-LABlab(48.70, -22.37, -13.65)
CIE-LCHlch(48.70, 26.20, 211.40°)
OKLaboklab(54.91% -0.0753 -0.0379)
OKLCHoklch(54.91% 0.084 206.7)
XYZxyz(12.8345, 17.3523, 26.7127)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F8A #8A2D22
analogous
#228A61 #227F8A #224B8A
triadic
#227F8A #8A227F #7F8A22
tetradic
#227F8A #61228A #8A2D22 #4B8A22
square
#227F8A #61228A #8A2D22 #4B8A22
split-complementary
#227F8A #8A224B #8A6122
monochromatic
#0A2528 #165259 #227F8A #2EACBB #52C7D4

Accessibility & contrast

On white

4.70
#227F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#227F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F8A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F8A#FFFFFF#000000##FFFFFF
##227F8A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227f8a;
/* rgb */ color: rgb(34, 127, 138);
/* oklch */ color: oklch(54.9% 0.084 206.7);
Tailwind
colors: {
  custom: {
    50: '#6fa4ac',
    500: '#227f8a',
    950: '#000000',
  },
}
SCSS
$custom: #227f8a;
$custom-light: #6fa4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227f8a",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 186.346,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.08436,
    "h": 206.7
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#227F8A
secondary
#B85B50
accent
#5544E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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