#227E9F#227E9F

#227E9F is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.6% C 0.096 H 227.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#227E9F
RGBrgb(34, 126, 159)
HSLhsl(196, 65%, 38%)
HSVhsv(196, 79%, 62%)
CMYKcmyk(78.6%, 20.8%, 0%, 37.6%)
CIE-LABlab(49.21, -14.67, -25.18)
CIE-LCHlch(49.21, 29.14, 239.78°)
OKLaboklab(55.59% -0.0656 -0.0707)
OKLCHoklch(55.59% 0.096 227.1)
XYZxyz(14.3760, 17.7632, 35.4651)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E9F #9F4322
analogous
#229F81 #227E9F #223F9F
triadic
#227E9F #9F227E #7E9F22
tetradic
#227E9F #81229F #9F4322 #3F9F22
square
#227E9F #81229F #9F4322 #3F9F22
split-complementary
#227E9F #9F223F #9F8122
monochromatic
#0C2E3A #17566D #227E9F #2DA6D1 #5FBBDD

Accessibility & contrast

On white

4.61
#227E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#227E9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227E9F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E9F#FFFFFF#000000##FFFFFF
##227E9F1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA1
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227e9f;
/* rgb */ color: rgb(34, 126, 159);
/* oklch */ color: oklch(55.6% 0.096 227.1);
Tailwind
colors: {
  custom: {
    50: '#72a3bb',
    500: '#227e9f',
    950: '#000000',
  },
}
SCSS
$custom: #227e9f;
$custom-light: #72a3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#227e9f",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 159
  },
  "hsl": {
    "h": 195.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.09645,
    "h": 227.1
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

primary
#227E9F
secondary
#C1765B
accent
#6C40E8
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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