#227187#227187

#227187 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.2% C 0.081 H 220.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#227187
RGBrgb(34, 113, 135)
HSLhsl(193, 60%, 33%)
HSVhsv(193, 75%, 53%)
CMYKcmyk(74.8%, 16.3%, 0%, 47.1%)
CIE-LABlab(44.09, -15.80, -18.91)
CIE-LCHlch(44.09, 24.64, 230.11°)
OKLaboklab(51.16% -0.0618 -0.0528)
OKLCHoklch(51.16% 0.081 220.5)
XYZxyz(10.9362, 13.8983, 25.0232)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227187 #873822
analogous
#22876A #227187 #223F87
triadic
#227187 #872271 #718722
tetradic
#227187 #6A2287 #873822 #3F8722
square
#227187 #6A2287 #873822 #3F8722
split-complementary
#227187 #87223F #876A22
monochromatic
#091F25 #164856 #227187 #2E9AB8 #50B7D3

Accessibility & contrast

On white

5.56
#227187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#227187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227187
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227187#FFFFFF#000000##FFFFFF
##2271871.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646E88
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227187;
/* rgb */ color: rgb(34, 113, 135);
/* oklch */ color: oklch(51.2% 0.081 220.5);
Tailwind
colors: {
  custom: {
    50: '#6d9aaa',
    500: '#227187',
    950: '#000000',
  },
}
SCSS
$custom: #227187;
$custom-light: #6d9aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#227187",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 135
  },
  "hsl": {
    "h": 193.069,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.08135,
    "h": 220.5
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#227187
secondary
#B7654E
accent
#6745E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227187

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

Preview Lab → · Contrast checker → · Palette generator →

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