#227F9F#227F9F

#227F9F is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.096 H 226.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#227F9F
RGBrgb(34, 127, 159)
HSLhsl(195, 65%, 38%)
HSVhsv(195, 79%, 62%)
CMYKcmyk(78.6%, 20.1%, 0%, 37.6%)
CIE-LABlab(49.52, -15.22, -24.70)
CIE-LCHlch(49.52, 29.01, 238.35°)
OKLaboklab(55.84% -0.0666 -0.0693)
OKLCHoklch(55.84% 0.096 226.1)
XYZxyz(14.5045, 18.0203, 35.5080)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F9F #9F4222
analogous
#229F80 #227F9F #22409F
triadic
#227F9F #9F227F #7F9F22
tetradic
#227F9F #80229F #9F4222 #409F22
square
#227F9F #80229F #9F4222 #409F22
split-complementary
#227F9F #9F2240 #9F8022
monochromatic
#0C2E3A #17576D #227F9F #2DA7D1 #5FBCDD

Accessibility & contrast

On white

4.56
#227F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#227F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227F9F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F9F#FFFFFF#000000##000000
##227F9F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7CA1
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227f9f;
/* rgb */ color: rgb(34, 127, 159);
/* oklch */ color: oklch(55.8% 0.096 226.1);
Tailwind
colors: {
  custom: {
    50: '#72a4bb',
    500: '#227f9f',
    950: '#000000',
  },
}
SCSS
$custom: #227f9f;
$custom-light: #72a4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#227f9f",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 159
  },
  "hsl": {
    "h": 195.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.09612,
    "h": 226.1
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#227F9F
secondary
#C1755B
accent
#6B40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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