#226CD2#226CD2

#226CD2 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.4% C 0.173 H 257.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#226CD2
RGBrgb(34, 108, 210)
HSLhsl(215, 72%, 48%)
HSVhsv(215, 84%, 82%)
CMYKcmyk(83.8%, 48.6%, 0%, 17.6%)
CIE-LABlab(46.60, 15.44, -58.78)
CIE-LCHlch(46.60, 60.78, 284.71°)
OKLaboklab(54.44% -0.0363 -0.1692)
OKLCHoklch(54.44% 0.173 257.9)
XYZxyz(17.6508, 15.7161, 63.0635)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226CD2 #D28822
analogous
#22C4D2 #226CD2 #3022D2
triadic
#226CD2 #D2226C #6CD222
tetradic
#226CD2 #D222C4 #D28822 #22D230
square
#226CD2 #D222C4 #D28822 #22D230
split-complementary
#226CD2 #D23022 #C4D222
monochromatic
#113669 #19519D #226CD2 #4F8DE2 #83AFEB

Accessibility & contrast

On white

5.07
#226CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#226CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226CD2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226CD2#FFFFFF#000000##FFFFFF
##226CD21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #226cd2;
/* rgb */ color: rgb(34, 108, 210);
/* oklch */ color: oklch(54.4% 0.173 257.9);
Tailwind
colors: {
  custom: {
    50: '#7c95e0',
    500: '#226cd2',
    950: '#000000',
  },
}
SCSS
$custom: #226cd2;
$custom-light: #7c95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#226cd2",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 214.773,
    "s": 72.131,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.17303,
    "h": 257.9
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#226CD2
secondary
#D4AF7C
accent
#A239EF
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #226CD2

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

Preview Lab → · Contrast checker → · Palette generator →

#226CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva