#227FA7#227FA7

#227FA7 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.103 H 231.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#227FA7
RGBrgb(34, 127, 167)
HSLhsl(198, 66%, 39%)
HSVhsv(198, 80%, 65%)
CMYKcmyk(79.6%, 24%, 0%, 34.5%)
CIE-LABlab(49.87, -12.38, -28.82)
CIE-LCHlch(49.87, 31.36, 246.75°)
OKLaboklab(56.23% -0.0636 -0.0812)
OKLCHoklch(56.23% 0.103 231.9)
XYZxyz(15.2213, 18.3070, 39.2831)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA7 #A74A22
analogous
#22A78D #227FA7 #223DA7
triadic
#227FA7 #A7227F #7FA722
tetradic
#227FA7 #8D22A7 #A74A22 #3DA722
square
#227FA7 #8D22A7 #A74A22 #3DA722
split-complementary
#227FA7 #A7223D #A78D22
monochromatic
#0D3241 #185874 #227FA7 #31A4D5 #64BADF

Accessibility & contrast

On white

4.50
#227FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#227FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FA7#FFFFFF#000000##000000
##227FA71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #227fa7;
/* rgb */ color: rgb(34, 127, 167);
/* oklch */ color: oklch(56.2% 0.103 231.9);
Tailwind
colors: {
  custom: {
    50: '#73a4c1',
    500: '#227fa7',
    950: '#000000',
  },
}
SCSS
$custom: #227fa7;
$custom-light: #73a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa7",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 198.045,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.10311,
    "h": 231.9
  },
  "luminance": 0.18309
}

Semantic roles & 50–950 ramp

primary
#227FA7
secondary
#C57E60
accent
#723FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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