#227DD5#227DD5

#227DD5 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.4% C 0.158 H 252.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#227DD5
RGBrgb(34, 125, 213)
HSLhsl(209, 72%, 48%)
HSVhsv(209, 84%, 84%)
CMYKcmyk(84%, 41.3%, 0%, 16.5%)
CIE-LABlab(51.62, 5.92, -52.42)
CIE-LCHlch(51.62, 52.76, 276.45°)
OKLaboklab(58.39% -0.0484 -0.1501)
OKLCHoklch(58.39% 0.158 252.1)
XYZxyz(19.9990, 19.8089, 65.7073)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227DD5 #D57A22
analogous
#22D5D3 #227DD5 #2223D5
triadic
#227DD5 #D5227D #7DD522
tetradic
#227DD5 #D322D5 #D57A22 #23D522
square
#227DD5 #D322D5 #D57A22 #23D522
split-complementary
#227DD5 #D52223 #D5D322
monochromatic
#113F6B #1A5EA0 #227DD5 #519BE3 #86BAEC

Accessibility & contrast

On white

4.23
#227DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#227DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227DD5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227DD5#FFFFFF#000000##000000
##227DD51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5184D8
Deuteranopia (green-blind)
#3174D3
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #227dd5;
/* rgb */ color: rgb(34, 125, 213);
/* oklch */ color: oklch(58.4% 0.158 252.1);
Tailwind
colors: {
  custom: {
    50: '#7ca2e2',
    500: '#227dd5',
    950: '#000000',
  },
}
SCSS
$custom: #227dd5;
$custom-light: #7ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#227dd5",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 209.497,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.15773,
    "h": 252.1
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#227DD5
secondary
#D5A97E
accent
#9239EF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #227DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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