#213258#213258

#213258 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.071 H 264.5°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#213258
RGBrgb(33, 50, 88)
HSLhsl(221, 45%, 24%)
HSVhsv(221, 63%, 35%)
CMYKcmyk(62.5%, 43.2%, 0%, 65.5%)
CIE-LABlab(21.24, 6.28, -25.06)
CIE-LCHlch(21.24, 25.84, 284.07°)
OKLaboklab(32.31% -0.0068 -0.0712)
OKLCHoklch(32.31% 0.071 264.5)
XYZxyz(3.5287, 3.3088, 9.6833)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213258 #584721
analogous
#214D58 #213258 #2B2158
triadic
#213258 #582132 #325821
tetradic
#213258 #58214D #584721 #21582B
square
#213258 #58214D #584721 #21582B
split-complementary
#213258 #582B21 #4D5821
monochromatic
#080D16 #10192B #213258 #324B85 #4265B1

Accessibility & contrast

On white

12.64
#213258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#213258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213258
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213258#FFFFFF#000000##FFFFFF
##2132581.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22365A
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213258;
/* rgb */ color: rgb(33, 50, 88);
/* oklch */ color: oklch(32.3% 0.071 264.5);
Tailwind
colors: {
  custom: {
    50: '#626987',
    500: '#213258',
    950: '#000000',
  },
}
SCSS
$custom: #213258;
$custom-light: #626987;
$custom-dark: #000000;
JSON
{
  "hex": "#213258",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 221.455,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.07148,
    "h": 264.5
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#213258
secondary
#8C7749
accent
#AD53D5
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #213258

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

Preview Lab → · Contrast checker → · Palette generator →

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