#227CA8#227CA8

#227CA8 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.106 H 235.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#227CA8
RGBrgb(34, 124, 168)
HSLhsl(200, 66%, 40%)
HSVhsv(200, 80%, 66%)
CMYKcmyk(79.8%, 26.2%, 0%, 34.1%)
CIE-LABlab(48.98, -10.31, -30.77)
CIE-LCHlch(48.98, 32.45, 251.48°)
OKLaboklab(55.55% -0.0603 -0.0869)
OKLCHoklch(55.55% 0.106 235.2)
XYZxyz(14.9324, 17.5807, 39.6446)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227CA8 #A84E22
analogous
#22A891 #227CA8 #2239A8
triadic
#227CA8 #A8227C #7CA822
tetradic
#227CA8 #9122A8 #A84E22 #39A822
square
#227CA8 #9122A8 #A84E22 #39A822
split-complementary
#227CA8 #A82239 #A89122
monochromatic
#0D3142 #185675 #227CA8 #32A0D5 #65B7E0

Accessibility & contrast

On white

4.65
#227CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#227CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227CA8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227CA8#FFFFFF#000000##FFFFFF
##227CA81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BAA
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227ca8;
/* rgb */ color: rgb(34, 124, 168);
/* oklch */ color: oklch(55.5% 0.106 235.2);
Tailwind
colors: {
  custom: {
    50: '#73a1c2',
    500: '#227ca8',
    950: '#000000',
  },
}
SCSS
$custom: #227ca8;
$custom-light: #73a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#227ca8",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 199.701,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.10578,
    "h": 235.2
  },
  "luminance": 0.17583
}

Semantic roles & 50–950 ramp

primary
#227CA8
secondary
#C58261
accent
#773FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #227CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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