#227A8F#227A8F

#227A8F is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.086 H 217.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#227A8F
RGBrgb(34, 122, 143)
HSLhsl(192, 62%, 35%)
HSVhsv(192, 76%, 56%)
CMYKcmyk(76.2%, 14.7%, 0%, 43.9%)
CIE-LABlab(47.29, -18.02, -18.75)
CIE-LCHlch(47.29, 26.00, 226.13°)
OKLaboklab(53.84% -0.068 -0.0523)
OKLCHoklch(53.84% 0.086 217.6)
XYZxyz(12.5751, 16.2408, 28.4533)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A8F #8F3722
analogous
#228F6E #227A8F #22438F
triadic
#227A8F #8F227A #7A8F22
tetradic
#227A8F #6E228F #8F3722 #438F22
square
#227A8F #6E228F #8F3722 #438F22
split-complementary
#227A8F #8F2243 #8F6E22
monochromatic
#0A262C #16505E #227A8F #2EA4C0 #55BED7

Accessibility & contrast

On white

4.94
#227A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#227A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A8F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A8F#FFFFFF#000000##FFFFFF
##227A8F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5E6B8F
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227a8f;
/* rgb */ color: rgb(34, 122, 143);
/* oklch */ color: oklch(53.8% 0.086 217.6);
Tailwind
colors: {
  custom: {
    50: '#6fa0af',
    500: '#227a8f',
    950: '#000000',
  },
}
SCSS
$custom: #227a8f;
$custom-light: #6fa0af;
$custom-dark: #000000;
JSON
{
  "hex": "#227a8f",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 143
  },
  "hsl": {
    "h": 191.56,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.08579,
    "h": 217.6
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#227A8F
secondary
#BA6652
accent
#6243E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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