#213892#213892

#213892 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.151 H 267.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#213892
RGBrgb(33, 56, 146)
HSLhsl(228, 63%, 35%)
HSVhsv(228, 77%, 57%)
CMYKcmyk(77.4%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.37, 24.89, -52.13)
CIE-LCHlch(27.37, 57.77, 295.53°)
OKLaboklab(38.34% -0.0064 -0.1506)
OKLCHoklch(38.34% 0.151 267.6)
XYZxyz(7.2279, 5.2262, 27.8164)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213892 #927B21
analogous
#217092 #213892 #432192
triadic
#213892 #922138 #389221
tetradic
#213892 #922170 #927B21 #219243
square
#213892 #922170 #927B21 #219243
split-complementary
#213892 #924321 #709221
monochromatic
#0A122E #162560 #213892 #2C4BC4 #5570D9

Accessibility & contrast

On white

10.27
#213892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213892
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213892#FFFFFF#000000##FFFFFF
##2138921.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213892;
/* rgb */ color: rgb(33, 56, 146);
/* oklch */ color: oklch(38.3% 0.151 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6eb3',
    500: '#213892',
    950: '#000000',
  },
}
SCSS
$custom: #213892;
$custom-light: #6f6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#213892",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 227.788,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38338,
    "c": 0.15075,
    "h": 267.6
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#213892
secondary
#BCA753
accent
#C542E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213892

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

Preview Lab → · Contrast checker → · Palette generator →

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