#214796#214796

#214796 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.137 H 262.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#214796
RGBrgb(33, 71, 150)
HSLhsl(221, 64%, 36%)
HSVhsv(221, 78%, 59%)
CMYKcmyk(78%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.88, 16.20, -47.25)
CIE-LCHlch(31.88, 49.95, 288.93°)
OKLaboklab(41.83% -0.0175 -0.136)
OKLCHoklch(41.83% 0.137 262.7)
XYZxyz(8.3835, 7.0309, 29.7635)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214796 #967021
analogous
#218196 #214796 #362196
triadic
#214796 #962147 #479621
tetradic
#214796 #962181 #967021 #219636
square
#214796 #962181 #967021 #219636
split-complementary
#214796 #963621 #819621
monochromatic
#0B1832 #162F64 #214796 #2C5FC8 #5782DA

Accessibility & contrast

On white

8.73
#214796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#214796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214796
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214796#FFFFFF#000000##FFFFFF
##2147961.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #214796;
/* rgb */ color: rgb(33, 71, 150);
/* oklch */ color: oklch(41.8% 0.137 262.7);
Tailwind
colors: {
  custom: {
    50: '#6f79b5',
    500: '#214796',
    950: '#000000',
  },
}
SCSS
$custom: #214796;
$custom-light: #6f79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#214796",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 220.513,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.13714,
    "h": 262.7
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#214796
secondary
#BE9C55
accent
#B141E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #214796

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

Preview Lab → · Contrast checker → · Palette generator →

#214796 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva