#226871#226871

#226871 is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.8% C 0.069 H 207.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#226871
RGBrgb(34, 104, 113)
HSLhsl(187, 54%, 29%)
HSVhsv(187, 70%, 44%)
CMYKcmyk(69.9%, 8%, 0%, 55.7%)
CIE-LABlab(40.30, -18.29, -11.41)
CIE-LCHlch(40.30, 21.56, 211.96°)
OKLaboklab(47.83% -0.0616 -0.0317)
OKLCHoklch(47.83% 0.069 207.2)
XYZxyz(8.5894, 11.4320, 17.3735)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226871 #712B22
analogous
#227153 #226871 #224171
triadic
#226871 #712268 #687122
tetradic
#226871 #532271 #712B22 #417122
square
#226871 #532271 #712B22 #417122
split-complementary
#226871 #712241 #715322
monochromatic
#071618 #143D42 #226871 #3093A0 #46B9C7

Accessibility & contrast

On white

6.39
#226871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#226871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226871
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226871#FFFFFF#000000##FFFFFF
##2268711.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226871;
/* rgb */ color: rgb(34, 104, 113);
/* oklch */ color: oklch(47.8% 0.069 207.2);
Tailwind
colors: {
  custom: {
    50: '#699399',
    500: '#226871',
    950: '#000000',
  },
}
SCSS
$custom: #226871;
$custom-light: #699399;
$custom-dark: #000000;
JSON
{
  "hex": "#226871",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 186.835,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.06924,
    "h": 207.2
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#226871
secondary
#A4554A
accent
#5B4BDD
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #226871

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

Preview Lab → · Contrast checker → · Palette generator →

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