#227864#227864

#227864 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.086 H 173.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#227864
RGBrgb(34, 120, 100)
HSLhsl(166, 56%, 30%)
HSVhsv(166, 72%, 47%)
CMYKcmyk(71.7%, 0%, 16.7%, 52.9%)
CIE-LABlab(45.21, -30.37, 3.68)
CIE-LCHlch(45.21, 30.60, 173.09°)
OKLaboklab(51.68% -0.086 0.0093)
OKLCHoklch(51.68% 0.086 173.8)
XYZxyz(9.6753, 14.6920, 14.3801)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227864 #782236
analogous
#227839 #227864 #226178
triadic
#227864 #642278 #786422
tetradic
#227864 #392278 #782236 #617822
square
#227864 #392278 #782236 #617822
split-complementary
#227864 #782261 #783922
monochromatic
#071915 #14483C #227864 #30A88C #49CBAD

Accessibility & contrast

On white

5.33
#227864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#227864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227864
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227864#FFFFFF#000000##FFFFFF
##2278641.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747063
Deuteranopia (green-blind)
#686765
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227864;
/* rgb */ color: rgb(34, 120, 100);
/* oklch */ color: oklch(51.7% 0.086 173.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f90',
    500: '#227864',
    950: '#000000',
  },
}
SCSS
$custom: #227864;
$custom-light: #6a9f90;
$custom-dark: #000000;
JSON
{
  "hex": "#227864",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 100
  },
  "hsl": {
    "h": 166.047,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.08647,
    "h": 173.8
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#227864
secondary
#AB4B61
accent
#496CDF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #227864

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

Preview Lab → · Contrast checker → · Palette generator →

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