#227C8E#227C8E

#227C8E is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.3% C 0.085 H 214.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#227C8E
RGBrgb(34, 124, 142)
HSLhsl(190, 61%, 35%)
HSVhsv(190, 76%, 56%)
CMYKcmyk(76.1%, 12.7%, 0%, 44.3%)
CIE-LABlab(47.89, -19.44, -17.24)
CIE-LCHlch(47.89, 25.99, 221.56°)
OKLaboklab(54.31% -0.0705 -0.0481)
OKLCHoklch(54.31% 0.085 214.3)
XYZxyz(12.7477, 16.7069, 28.1388)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C8E #8E3422
analogous
#228E6A #227C8E #22468E
triadic
#227C8E #8E227C #7C8E22
tetradic
#227C8E #6A228E #8E3422 #468E22
square
#227C8E #6A228E #8E3422 #468E22
split-complementary
#227C8E #8E2246 #8E6A22
monochromatic
#0A262B #16515D #227C8E #2EA7BF #54C0D6

Accessibility & contrast

On white

4.84
#227C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#227C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C8E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C8E#FFFFFF#000000##FFFFFF
##227C8E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F788F
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227c8e;
/* rgb */ color: rgb(34, 124, 142);
/* oklch */ color: oklch(54.3% 0.085 214.3);
Tailwind
colors: {
  custom: {
    50: '#6fa2af',
    500: '#227c8e',
    950: '#000000',
  },
}
SCSS
$custom: #227c8e;
$custom-light: #6fa2af;
$custom-dark: #000000;
JSON
{
  "hex": "#227c8e",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 190,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.0853,
    "h": 214.3
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#227C8E
secondary
#BA6352
accent
#5E43E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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