#227A8A#227A8A

#227A8A is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.6% C 0.083 H 212.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#227A8A
RGBrgb(34, 122, 138)
HSLhsl(189, 60%, 34%)
HSVhsv(189, 75%, 54%)
CMYKcmyk(75.4%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.10, -19.71, -16.09)
CIE-LCHlch(47.10, 25.45, 219.22°)
OKLaboklab(53.62% -0.0701 -0.0448)
OKLCHoklch(53.62% 0.083 212.6)
XYZxyz(12.2047, 16.0927, 26.5028)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A8A #8A3222
analogous
#228A66 #227A8A #22468A
triadic
#227A8A #8A227A #7A8A22
tetradic
#227A8A #66228A #8A3222 #468A22
square
#227A8A #66228A #8A3222 #468A22
split-complementary
#227A8A #8A2246 #8A6622
monochromatic
#0A2328 #164F59 #227A8A #2EA5BB #52C0D4

Accessibility & contrast

On white

4.98
#227A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#227A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A8A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A8A#FFFFFF#000000##FFFFFF
##227A8A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227a8a;
/* rgb */ color: rgb(34, 122, 138);
/* oklch */ color: oklch(53.6% 0.083 212.6);
Tailwind
colors: {
  custom: {
    50: '#6ea0ac',
    500: '#227a8a',
    950: '#000000',
  },
}
SCSS
$custom: #227a8a;
$custom-light: #6ea0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227a8a",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 189.231,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.08318,
    "h": 212.6
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#227A8A
secondary
#B86050
accent
#5D44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #227A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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