#213358#213358

#213358 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.070 H 263.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#213358
RGBrgb(33, 51, 88)
HSLhsl(220, 45%, 24%)
HSVhsv(220, 63%, 35%)
CMYKcmyk(62.5%, 42%, 0%, 65.5%)
CIE-LABlab(21.56, 5.57, -24.55)
CIE-LCHlch(21.56, 25.18, 282.78°)
OKLaboklab(32.56% -0.0081 -0.0697)
OKLCHoklch(32.56% 0.07 263.4)
XYZxyz(3.5719, 3.3953, 9.6978)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213358 #584621
analogous
#214E58 #213358 #2A2158
triadic
#213358 #582133 #335821
tetradic
#213358 #58214E #584621 #21582A
square
#213358 #58214E #584621 #21582A
split-complementary
#213358 #582A21 #4E5821
monochromatic
#080D16 #10192B #213358 #324D85 #4267B1

Accessibility & contrast

On white

12.51
#213358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#213358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213358
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213358#FFFFFF#000000##FFFFFF
##2133581.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233659
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213358;
/* rgb */ color: rgb(33, 51, 88);
/* oklch */ color: oklch(32.6% 0.070 263.4);
Tailwind
colors: {
  custom: {
    50: '#626a87',
    500: '#213358',
    950: '#000000',
  },
}
SCSS
$custom: #213358;
$custom-light: #626a87;
$custom-dark: #000000;
JSON
{
  "hex": "#213358",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 88
  },
  "hsl": {
    "h": 220.364,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32562,
    "c": 0.07013,
    "h": 263.4
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#213358
secondary
#8C7649
accent
#AA53D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #213358

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

Preview Lab → · Contrast checker → · Palette generator →

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