#214297#214297

#214297 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.145 H 264.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#214297
RGBrgb(33, 66, 151)
HSLhsl(223, 64%, 36%)
HSVhsv(223, 78%, 59%)
CMYKcmyk(78.1%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.53, 20.01, -50.05)
CIE-LCHlch(30.53, 53.90, 291.80°)
OKLaboklab(40.83% -0.0135 -0.1443)
OKLCHoklch(40.83% 0.145 264.7)
XYZxyz(8.1593, 6.4532, 30.0877)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214297 #977621
analogous
#217D97 #214297 #3B2197
triadic
#214297 #972142 #429721
tetradic
#214297 #97217D #977621 #21973B
square
#214297 #97217D #977621 #21973B
split-complementary
#214297 #973B21 #7D9721
monochromatic
#0B1633 #162C65 #214297 #2C58C9 #587CDA

Accessibility & contrast

On white

9.17
#214297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#214297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214297
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214297#FFFFFF#000000##FFFFFF
##2142971.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #214297;
/* rgb */ color: rgb(33, 66, 151);
/* oklch */ color: oklch(40.8% 0.145 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f75b6',
    500: '#214297',
    950: '#000000',
  },
}
SCSS
$custom: #214297;
$custom-light: #6f75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#214297",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 223.22,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40833,
    "c": 0.14497,
    "h": 264.7
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#214297
secondary
#BEA155
accent
#B941E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #214297

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

Preview Lab → · Contrast checker → · Palette generator →

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