#227FA5#227FA5

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

Color values

HEX#227FA5
RGBrgb(34, 127, 165)
HSLhsl(197, 66%, 39%)
HSVhsv(197, 79%, 65%)
CMYKcmyk(79.4%, 23%, 0%, 35.3%)
CIE-LABlab(49.78, -13.10, -27.79)
CIE-LCHlch(49.78, 30.72, 244.76°)
OKLaboklab(56.14% -0.0643 -0.0782)
OKLCHoklch(56.14% 0.101 230.6)
XYZxyz(15.0378, 18.2336, 38.3169)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA5 #A54822
analogous
#22A58A #227FA5 #223DA5
triadic
#227FA5 #A5227F #7FA522
tetradic
#227FA5 #8A22A5 #A54822 #3DA522
square
#227FA5 #8A22A5 #A54822 #3DA522
split-complementary
#227FA5 #A5223D #A58A22
monochromatic
#0D3140 #185872 #227FA5 #30A5D4 #63BBDF

Accessibility & contrast

On white

4.52
#227FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##227FA5#FFFFFF#000000##000000
##227FA51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA7
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227fa5;
/* rgb */ color: rgb(34, 127, 165);
/* oklch */ color: oklch(56.1% 0.101 230.6);
Tailwind
colors: {
  custom: {
    50: '#73a4c0',
    500: '#227fa5',
    950: '#000000',
  },
}
SCSS
$custom: #227fa5;
$custom-light: #73a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa5",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 197.405,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.10128,
    "h": 230.6
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#227FA5
secondary
#C47C5F
accent
#703FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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