#227DA8#227DA8

#227DA8 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.105 H 234.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#227DA8
RGBrgb(34, 125, 168)
HSLhsl(199, 66%, 40%)
HSVhsv(199, 80%, 66%)
CMYKcmyk(79.8%, 25.6%, 0%, 34.1%)
CIE-LABlab(49.29, -10.88, -30.29)
CIE-LCHlch(49.29, 32.19, 250.24°)
OKLaboklab(55.79% -0.0613 -0.0855)
OKLCHoklch(55.79% 0.105 234.3)
XYZxyz(15.0583, 17.8326, 39.6866)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227DA8 #A84D22
analogous
#22A890 #227DA8 #223AA8
triadic
#227DA8 #A8227D #7DA822
tetradic
#227DA8 #9022A8 #A84D22 #3AA822
square
#227DA8 #9022A8 #A84D22 #3AA822
split-complementary
#227DA8 #A8223A #A89022
monochromatic
#0D3142 #185775 #227DA8 #32A1D5 #65B8E0

Accessibility & contrast

On white

4.60
#227DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#227DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227DA8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227DA8#FFFFFF#000000##FFFFFF
##227DA81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687CAA
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227da8;
/* rgb */ color: rgb(34, 125, 168);
/* oklch */ color: oklch(55.8% 0.105 234.3);
Tailwind
colors: {
  custom: {
    50: '#73a2c2',
    500: '#227da8',
    950: '#000000',
  },
}
SCSS
$custom: #227da8;
$custom-light: #73a2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#227da8",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 199.254,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.10518,
    "h": 234.3
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#227DA8
secondary
#C58161
accent
#753FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #227DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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