#227FA1#227FA1

#227FA1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 55.9% C 0.098 H 227.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#227FA1
RGBrgb(34, 127, 161)
HSLhsl(196, 65%, 38%)
HSVhsv(196, 79%, 63%)
CMYKcmyk(78.9%, 21.1%, 0%, 36.9%)
CIE-LABlab(49.61, -14.52, -25.73)
CIE-LCHlch(49.61, 29.55, 240.57°)
OKLaboklab(55.94% -0.0658 -0.0723)
OKLCHoklch(55.94% 0.098 227.7)
XYZxyz(14.6794, 18.0902, 36.4294)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA1 #A14422
analogous
#22A183 #227FA1 #223FA1
triadic
#227FA1 #A1227F #7FA122
tetradic
#227FA1 #8322A1 #A14422 #3FA122
square
#227FA1 #8322A1 #A14422 #3FA122
split-complementary
#227FA1 #A1223F #A18322
monochromatic
#0D2F3C #17576E #227FA1 #2DA6D3 #60BCDD

Accessibility & contrast

On white

4.55
#227FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#227FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FA1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FA1#FFFFFF#000000##000000
##227FA11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA3
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#00898A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227fa1;
/* rgb */ color: rgb(34, 127, 161);
/* oklch */ color: oklch(55.9% 0.098 227.7);
Tailwind
colors: {
  custom: {
    50: '#72a4bd',
    500: '#227fa1',
    950: '#000000',
  },
}
SCSS
$custom: #227fa1;
$custom-light: #72a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa1",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 196.063,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.09777,
    "h": 227.7
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#227FA1
secondary
#C2785D
accent
#6D40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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