#227FA6#227FA6

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

Color values

HEX#227FA6
RGBrgb(34, 127, 166)
HSLhsl(198, 66%, 39%)
HSVhsv(198, 80%, 65%)
CMYKcmyk(79.5%, 23.5%, 0%, 34.9%)
CIE-LABlab(49.82, -12.74, -28.30)
CIE-LCHlch(49.82, 31.04, 245.77°)
OKLaboklab(56.18% -0.064 -0.0797)
OKLCHoklch(56.18% 0.102 231.3)
XYZxyz(15.1292, 18.2701, 38.7981)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA6 #A64922
analogous
#22A68B #227FA6 #223DA6
triadic
#227FA6 #A6227F #7FA622
tetradic
#227FA6 #8B22A6 #A64922 #3DA622
square
#227FA6 #8B22A6 #A64922 #3DA622
split-complementary
#227FA6 #A6223D #A68B22
monochromatic
#0D3140 #185873 #227FA6 #30A4D5 #63BBDF

Accessibility & contrast

On white

4.51
#227FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#227FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FA6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FA6#FFFFFF#000000##000000
##227FA61.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA8
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227fa6;
/* rgb */ color: rgb(34, 127, 166);
/* oklch */ color: oklch(56.2% 0.102 231.3);
Tailwind
colors: {
  custom: {
    50: '#73a4c0',
    500: '#227fa6',
    950: '#000000',
  },
}
SCSS
$custom: #227fa6;
$custom-light: #73a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa6",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 197.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.10219,
    "h": 231.3
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#227FA6
secondary
#C47D5F
accent
#713FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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