#227A9F#227A9F

#227A9F is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.6% C 0.098 H 231.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#227A9F
RGBrgb(34, 122, 159)
HSLhsl(198, 65%, 38%)
HSVhsv(198, 79%, 62%)
CMYKcmyk(78.6%, 23.3%, 0%, 37.6%)
CIE-LABlab(47.96, -12.41, -27.12)
CIE-LCHlch(47.96, 29.82, 245.41°)
OKLaboklab(54.59% -0.0616 -0.0763)
OKLCHoklch(54.59% 0.098 231.1)
XYZxyz(13.8747, 16.7607, 35.2980)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A9F #9F4722
analogous
#229F85 #227A9F #223B9F
triadic
#227A9F #9F227A #7A9F22
tetradic
#227A9F #85229F #9F4722 #3B9F22
square
#227A9F #85229F #9F4722 #3B9F22
split-complementary
#227A9F #9F223B #9F8522
monochromatic
#0C2D3A #17536D #227A9F #2DA1D1 #5FB7DD

Accessibility & contrast

On white

4.82
#227A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#227A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A9F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A9F#FFFFFF#000000##FFFFFF
##227A9F1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227a9f;
/* rgb */ color: rgb(34, 122, 159);
/* oklch */ color: oklch(54.6% 0.098 231.1);
Tailwind
colors: {
  custom: {
    50: '#71a0bb',
    500: '#227a9f',
    950: '#000000',
  },
}
SCSS
$custom: #227a9f;
$custom-light: #71a0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#227a9f",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 197.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.09811,
    "h": 231.1
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#227A9F
secondary
#C17A5B
accent
#7240E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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