#227C8A#227C8A

#227C8A is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.1% C 0.084 H 210.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#227C8A
RGBrgb(34, 124, 138)
HSLhsl(188, 60%, 34%)
HSVhsv(188, 75%, 54%)
CMYKcmyk(75.4%, 10.1%, 0%, 45.9%)
CIE-LABlab(47.74, -20.78, -15.11)
CIE-LCHlch(47.74, 25.70, 216.02°)
OKLaboklab(54.14% -0.0722 -0.0421)
OKLCHoklch(54.14% 0.084 210.2)
XYZxyz(12.4528, 16.5889, 26.5855)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C8A #8A3022
analogous
#228A64 #227C8A #22488A
triadic
#227C8A #8A227C #7C8A22
tetradic
#227C8A #64228A #8A3022 #488A22
square
#227C8A #64228A #8A3022 #488A22
split-complementary
#227C8A #8A2248 #8A6422
monochromatic
#0A2428 #165059 #227C8A #2EA8BB #52C3D4

Accessibility & contrast

On white

4.86
#227C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#227C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C8A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C8A#FFFFFF#000000##FFFFFF
##227C8A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227c8a;
/* rgb */ color: rgb(34, 124, 138);
/* oklch */ color: oklch(54.1% 0.084 210.2);
Tailwind
colors: {
  custom: {
    50: '#6ea2ac',
    500: '#227c8a',
    950: '#000000',
  },
}
SCSS
$custom: #227c8a;
$custom-light: #6ea2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227c8a",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 188.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.08355,
    "h": 210.2
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#227C8A
secondary
#B85E50
accent
#5A44E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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