#227B8E#227B8E

#227B8E is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.0% C 0.085 H 215.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#227B8E
RGBrgb(34, 123, 142)
HSLhsl(191, 61%, 35%)
HSVhsv(191, 76%, 56%)
CMYKcmyk(76.1%, 13.4%, 0%, 44.3%)
CIE-LABlab(47.57, -18.90, -17.73)
CIE-LCHlch(47.57, 25.92, 223.16°)
OKLaboklab(54.05% -0.0694 -0.0494)
OKLCHoklch(54.05% 0.085 215.5)
XYZxyz(12.6231, 16.4575, 28.0973)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B8E #8E3522
analogous
#228E6B #227B8E #22458E
triadic
#227B8E #8E227B #7B8E22
tetradic
#227B8E #6B228E #8E3522 #458E22
square
#227B8E #6B228E #8E3522 #458E22
split-complementary
#227B8E #8E2245 #8E6B22
monochromatic
#0A252B #16505D #227B8E #2EA6BF #54BFD6

Accessibility & contrast

On white

4.89
#227B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#227B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B8E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B8E#FFFFFF#000000##FFFFFF
##227B8E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E778F
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227b8e;
/* rgb */ color: rgb(34, 123, 142);
/* oklch */ color: oklch(54.0% 0.085 215.5);
Tailwind
colors: {
  custom: {
    50: '#6fa1af',
    500: '#227b8e',
    950: '#000000',
  },
}
SCSS
$custom: #227b8e;
$custom-light: #6fa1af;
$custom-dark: #000000;
JSON
{
  "hex": "#227b8e",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 142
  },
  "hsl": {
    "h": 190.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.08523,
    "h": 215.5
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#227B8E
secondary
#BA6452
accent
#6043E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #227B8E

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

Preview Lab → · Contrast checker → · Palette generator →

#227B8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva