#214EC2#214EC2

#214EC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.188 H 264.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#214EC2
RGBrgb(33, 78, 194)
HSLhsl(223, 71%, 45%)
HSVhsv(223, 83%, 76%)
CMYKcmyk(83%, 59.8%, 0%, 23.9%)
CIE-LABlab(37.24, 28.72, -64.75)
CIE-LCHlch(37.24, 70.83, 293.92°)
OKLaboklab(46.95% -0.0191 -0.1873)
OKLCHoklch(46.95% 0.188 264.2)
XYZxyz(13.0857, 9.6656, 52.2044)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214EC2 #C29521
analogous
#219FC2 #214EC2 #4521C2
triadic
#214EC2 #C2214E #4EC221
tetradic
#214EC2 #C2219F #C29521 #21C245
square
#214EC2 #C2219F #C29521 #21C245
split-complementary
#214EC2 #C24521 #9FC221
monochromatic
#0F2459 #18398E #214EC2 #416DDF #7696E8

Accessibility & contrast

On white

7.16
#214EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#214EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214EC2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214EC2#FFFFFF#000000##FFFFFF
##214EC21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #214ec2;
/* rgb */ color: rgb(33, 78, 194);
/* oklch */ color: oklch(47.0% 0.188 264.2);
Tailwind
colors: {
  custom: {
    50: '#797fd5',
    500: '#214ec2',
    950: '#000000',
  },
}
SCSS
$custom: #214ec2;
$custom-light: #797fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#214ec2",
  "rgb": {
    "r": 33,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 223.23,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.18829,
    "h": 264.2
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#214EC2
secondary
#CFB470
accent
#BB3AEE
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #214EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#214EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva