#227DA7#227DA7

#227DA7 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.104 H 233.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#227DA7
RGBrgb(34, 125, 167)
HSLhsl(199, 66%, 39%)
HSVhsv(199, 80%, 65%)
CMYKcmyk(79.6%, 25.1%, 0%, 34.5%)
CIE-LABlab(49.25, -11.24, -29.78)
CIE-LCHlch(49.25, 31.83, 249.32°)
OKLaboklab(55.74% -0.0617 -0.084)
OKLCHoklch(55.74% 0.104 233.7)
XYZxyz(14.9655, 17.7955, 39.1978)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227DA7 #A74C22
analogous
#22A78E #227DA7 #223BA7
triadic
#227DA7 #A7227D #7DA722
tetradic
#227DA7 #8E22A7 #A74C22 #3BA722
square
#227DA7 #8E22A7 #A74C22 #3BA722
split-complementary
#227DA7 #A7223B #A78E22
monochromatic
#0D3141 #185774 #227DA7 #31A1D5 #64B8DF

Accessibility & contrast

On white

4.61
#227DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#227DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227DA7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227DA7#FFFFFF#000000##FFFFFF
##227DA71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687CA9
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227da7;
/* rgb */ color: rgb(34, 125, 167);
/* oklch */ color: oklch(55.7% 0.104 233.7);
Tailwind
colors: {
  custom: {
    50: '#73a2c1',
    500: '#227da7',
    950: '#000000',
  },
}
SCSS
$custom: #227da7;
$custom-light: #73a2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#227da7",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 167
  },
  "hsl": {
    "h": 198.947,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5574,
    "c": 0.10419,
    "h": 233.7
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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