#227F9A#227F9A

#227F9A is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.6% C 0.092 H 222.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#227F9A
RGBrgb(34, 127, 154)
HSLhsl(194, 64%, 37%)
HSVhsv(194, 78%, 60%)
CMYKcmyk(77.9%, 17.5%, 0%, 39.6%)
CIE-LABlab(49.31, -16.97, -22.10)
CIE-LCHlch(49.31, 27.86, 232.48°)
OKLaboklab(55.61% -0.0686 -0.0619)
OKLCHoklch(55.61% 0.092 222.1)
XYZxyz(14.0794, 17.8502, 33.2690)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F9A #9A3D22
analogous
#229A79 #227F9A #22439A
triadic
#227F9A #9A227F #7F9A22
tetradic
#227F9A #79229A #9A3D22 #439A22
square
#227F9A #79229A #9A3D22 #439A22
split-complementary
#227F9A #9A2243 #9A7922
monochromatic
#0C2C36 #175668 #227F9A #2DA8CC #5BBEDB

Accessibility & contrast

On white

4.59
#227F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#227F9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227F9A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F9A#FFFFFF#000000##FFFFFF
##227F9A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9B
Deuteranopia (green-blind)
#5F709A
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227f9a;
/* rgb */ color: rgb(34, 127, 154);
/* oklch */ color: oklch(55.6% 0.092 222.1);
Tailwind
colors: {
  custom: {
    50: '#71a4b7',
    500: '#227f9a',
    950: '#000000',
  },
}
SCSS
$custom: #227f9a;
$custom-light: #71a4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#227f9a",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 154
  },
  "hsl": {
    "h": 193.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5561,
    "c": 0.09236,
    "h": 222.1
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#227F9A
secondary
#BF7058
accent
#6641E7
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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