#227CA1#227CA1

#227CA1 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.099 H 230.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#227CA1
RGBrgb(34, 124, 161)
HSLhsl(197, 65%, 38%)
HSVhsv(197, 79%, 63%)
CMYKcmyk(78.9%, 23%, 0%, 36.9%)
CIE-LABlab(48.67, -12.83, -27.18)
CIE-LCHlch(48.67, 30.06, 244.73°)
OKLaboklab(55.19% -0.0629 -0.0765)
OKLCHoklch(55.19% 0.099 230.6)
XYZxyz(14.2977, 17.3269, 36.3022)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227CA1 #A14722
analogous
#22A186 #227CA1 #223DA1
triadic
#227CA1 #A1227C #7CA122
tetradic
#227CA1 #8622A1 #A14722 #3DA122
square
#227CA1 #8622A1 #A14722 #3DA122
split-complementary
#227CA1 #A1223D #A18622
monochromatic
#0D2E3C #17556E #227CA1 #2DA3D3 #60B9DD

Accessibility & contrast

On white

4.70
#227CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#227CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227CA1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227CA1#FFFFFF#000000##FFFFFF
##227CA11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697AA3
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227ca1;
/* rgb */ color: rgb(34, 124, 161);
/* oklch */ color: oklch(55.2% 0.099 230.6);
Tailwind
colors: {
  custom: {
    50: '#72a2bd',
    500: '#227ca1',
    950: '#000000',
  },
}
SCSS
$custom: #227ca1;
$custom-light: #72a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#227ca1",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 161
  },
  "hsl": {
    "h": 197.48,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.09901,
    "h": 230.6
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#227CA1
secondary
#C27A5D
accent
#7140E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #227CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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