#227FA4#227FA4

#227FA4 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.100 H 229.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#227FA4
RGBrgb(34, 127, 164)
HSLhsl(197, 66%, 39%)
HSVhsv(197, 79%, 64%)
CMYKcmyk(79.3%, 22.6%, 0%, 35.7%)
CIE-LABlab(49.73, -13.45, -27.28)
CIE-LCHlch(49.73, 30.41, 243.75°)
OKLaboklab(56.09% -0.0647 -0.0767)
OKLCHoklch(56.09% 0.1 229.9)
XYZxyz(14.9472, 18.1973, 37.8394)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA4 #A44722
analogous
#22A488 #227FA4 #223EA4
triadic
#227FA4 #A4227F #7FA422
tetradic
#227FA4 #8822A4 #A44722 #3EA422
square
#227FA4 #8822A4 #A44722 #3EA422
split-complementary
#227FA4 #A4223E #A48822
monochromatic
#0D303F #175871 #227FA4 #2FA5D4 #62BBDE

Accessibility & contrast

On white

4.53
#227FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#227FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FA4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FA4#FFFFFF#000000##000000
##227FA41.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227fa4;
/* rgb */ color: rgb(34, 127, 164);
/* oklch */ color: oklch(56.1% 0.100 229.9);
Tailwind
colors: {
  custom: {
    50: '#72a4bf',
    500: '#227fa4',
    950: '#000000',
  },
}
SCSS
$custom: #227fa4;
$custom-light: #72a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa4",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 197.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.10037,
    "h": 229.9
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#227FA4
secondary
#C47B5E
accent
#6F3FE9
background
#F7FAFB
surface
#EDF4F7
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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