#227DA4#227DA4

#227DA4 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.101 H 231.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#227DA4
RGBrgb(34, 125, 164)
HSLhsl(198, 66%, 39%)
HSVhsv(198, 79%, 64%)
CMYKcmyk(79.3%, 23.8%, 0%, 35.7%)
CIE-LABlab(49.11, -12.32, -28.24)
CIE-LCHlch(49.11, 30.82, 246.43°)
OKLaboklab(55.59% -0.0627 -0.0795)
OKLCHoklch(55.59% 0.101 231.7)
XYZxyz(14.6914, 17.6859, 37.7542)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227DA4 #A44922
analogous
#22A48A #227DA4 #223CA4
triadic
#227DA4 #A4227D #7DA422
tetradic
#227DA4 #8A22A4 #A44922 #3CA422
square
#227DA4 #8A22A4 #A44922 #3CA422
split-complementary
#227DA4 #A4223C #A48A22
monochromatic
#0D303F #175671 #227DA4 #2FA3D4 #62B9DE

Accessibility & contrast

On white

4.63
#227DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#227DA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227DA4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227DA4#FFFFFF#000000##FFFFFF
##227DA41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697CA6
Deuteranopia (green-blind)
#586FA3
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227da4;
/* rgb */ color: rgb(34, 125, 164);
/* oklch */ color: oklch(55.6% 0.101 231.7);
Tailwind
colors: {
  custom: {
    50: '#72a2bf',
    500: '#227da4',
    950: '#000000',
  },
}
SCSS
$custom: #227da4;
$custom-light: #72a2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#227da4",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 164
  },
  "hsl": {
    "h": 198,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.10131,
    "h": 231.7
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#227DA4
secondary
#C47D5E
accent
#723FE9
background
#F7FAFB
surface
#EDF3F7
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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