#227884#227884

#227884 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.080 H 208.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#227884
RGBrgb(34, 120, 132)
HSLhsl(187, 59%, 33%)
HSVhsv(187, 74%, 52%)
CMYKcmyk(74.2%, 9.1%, 0%, 48.2%)
CIE-LABlab(46.23, -20.64, -13.85)
CIE-LCHlch(46.23, 24.86, 213.86°)
OKLaboklab(52.84% -0.0706 -0.0385)
OKLCHoklch(52.84% 0.08 208.6)
XYZxyz(11.5392, 15.4376, 24.1969)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227884 #842E22
analogous
#22845F #227884 #224784
triadic
#227884 #842278 #788422
tetradic
#227884 #5F2284 #842E22 #478422
square
#227884 #5F2284 #842E22 #478422
split-complementary
#227884 #842247 #845F22
monochromatic
#092023 #154C53 #227884 #2FA4B5 #4FC2D2

Accessibility & contrast

On white

5.14
#227884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#227884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227884
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227884#FFFFFF#000000##FFFFFF
##2278841.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7385
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227884;
/* rgb */ color: rgb(34, 120, 132);
/* oklch */ color: oklch(52.8% 0.080 208.6);
Tailwind
colors: {
  custom: {
    50: '#6d9fa7',
    500: '#227884',
    950: '#000000',
  },
}
SCSS
$custom: #227884;
$custom-light: #6d9fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#227884",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 132
  },
  "hsl": {
    "h": 187.347,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.08042,
    "h": 208.6
  },
  "luminance": 0.15439
}

Semantic roles & 50–950 ramp

primary
#227884
secondary
#B55A4D
accent
#5946E2
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #227884

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

Preview Lab → · Contrast checker → · Palette generator →

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