#227381#227381

#227381 is a mid, moderate teal. Relative luminance 0.142; OKLCH L 51.4% C 0.078 H 211.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#227381
RGBrgb(34, 115, 129)
HSLhsl(189, 58%, 32%)
HSVhsv(189, 74%, 51%)
CMYKcmyk(73.6%, 10.9%, 0%, 49.4%)
CIE-LABlab(44.50, -18.95, -14.69)
CIE-LCHlch(44.50, 23.98, 217.79°)
OKLaboklab(51.41% -0.0665 -0.0409)
OKLCHoklch(51.41% 0.078 211.6)
XYZxyz(10.7512, 14.1853, 22.9360)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227381 #813022
analogous
#228160 #227381 #224481
triadic
#227381 #812273 #738122
tetradic
#227381 #602281 #813022 #448122
square
#227381 #602281 #813022 #448122
split-complementary
#227381 #812244 #816022
monochromatic
#081D20 #154851 #227381 #2F9EB1 #4DBDD0

Accessibility & contrast

On white

5.47
#227381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#227381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227381
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227381#FFFFFF#000000##FFFFFF
##2273811.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686F82
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227381;
/* rgb */ color: rgb(34, 115, 129);
/* oklch */ color: oklch(51.4% 0.078 211.6);
Tailwind
colors: {
  custom: {
    50: '#6c9ba5',
    500: '#227381',
    950: '#000000',
  },
}
SCSS
$custom: #227381;
$custom-light: #6c9ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#227381",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 129
  },
  "hsl": {
    "h": 188.842,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.07811,
    "h": 211.6
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#227381
secondary
#B35B4B
accent
#5D46E1
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #227381

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

Preview Lab → · Contrast checker → · Palette generator →

#227381 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva