#227865#227865

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

Color values

HEX#227865
RGBrgb(34, 120, 101)
HSLhsl(167, 56%, 30%)
HSVhsv(167, 72%, 47%)
CMYKcmyk(71.7%, 0%, 15.8%, 52.9%)
CIE-LABlab(45.24, -30.10, 3.13)
CIE-LCHlch(45.24, 30.26, 174.07°)
OKLaboklab(51.71% -0.0855 0.0078)
OKLCHoklch(51.71% 0.086 174.8)
XYZxyz(9.7239, 14.7115, 14.6365)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227865 #782235
analogous
#22783A #227865 #226078
triadic
#227865 #652278 #786522
tetradic
#227865 #3A2278 #782235 #607822
square
#227865 #3A2278 #782235 #607822
split-complementary
#227865 #782260 #783A22
monochromatic
#071915 #14483D #227865 #30A88D #49CBAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227865#FFFFFF#000000##FFFFFF
##2278651.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)
#747064
Deuteranopia (green-blind)
#686766
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227865;
/* rgb */ color: rgb(34, 120, 101);
/* oklch */ color: oklch(51.7% 0.086 174.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f90',
    500: '#227865',
    950: '#000000',
  },
}
SCSS
$custom: #227865;
$custom-light: #6a9f90;
$custom-dark: #000000;
JSON
{
  "hex": "#227865",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 101
  },
  "hsl": {
    "h": 166.744,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.08582,
    "h": 174.8
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#227865
secondary
#AB4B60
accent
#496ADF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #227865

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

Preview Lab → · Contrast checker → · Palette generator →

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