#227CA5#227CA5

#227CA5 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.4% C 0.103 H 233.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#227CA5
RGBrgb(34, 124, 165)
HSLhsl(199, 66%, 39%)
HSVhsv(199, 79%, 65%)
CMYKcmyk(79.4%, 24.8%, 0%, 35.3%)
CIE-LABlab(48.85, -11.39, -29.24)
CIE-LCHlch(48.85, 31.38, 248.71°)
OKLaboklab(55.39% -0.0614 -0.0824)
OKLCHoklch(55.39% 0.103 233.3)
XYZxyz(14.6561, 17.4702, 38.1897)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227CA5 #A54B22
analogous
#22A58D #227CA5 #223AA5
triadic
#227CA5 #A5227C #7CA522
tetradic
#227CA5 #8D22A5 #A54B22 #3AA522
square
#227CA5 #8D22A5 #A54B22 #3AA522
split-complementary
#227CA5 #A5223A #A58D22
monochromatic
#0D3040 #185672 #227CA5 #30A1D4 #63B8DF

Accessibility & contrast

On white

4.67
#227CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#227CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227CA5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227CA5#FFFFFF#000000##FFFFFF
##227CA51.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687BA7
Deuteranopia (green-blind)
#566FA4
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227ca5;
/* rgb */ color: rgb(34, 124, 165);
/* oklch */ color: oklch(55.4% 0.103 233.3);
Tailwind
colors: {
  custom: {
    50: '#72a1c0',
    500: '#227ca5',
    950: '#000000',
  },
}
SCSS
$custom: #227ca5;
$custom-light: #72a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227ca5",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 198.779,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.10279,
    "h": 233.3
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#227CA5
secondary
#C47F5F
accent
#743FE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #227CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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