#213045#213045

#213045 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.6% C 0.043 H 256.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#213045
RGBrgb(33, 48, 69)
HSLhsl(215, 35%, 20%)
HSVhsv(215, 52%, 27%)
CMYKcmyk(52.2%, 30.4%, 0%, 72.9%)
CIE-LABlab(19.50, 0.62, -15.05)
CIE-LCHlch(19.50, 15.07, 272.36°)
OKLaboklab(30.61% -0.0098 -0.0421)
OKLCHoklch(30.61% 0.043 256.9)
XYZxyz(2.7580, 2.8667, 6.0371)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213045 #453621
analogous
#214245 #213045 #242145
triadic
#213045 #452130 #304521
tetradic
#213045 #452142 #453621 #214524
square
#213045 #452142 #453621 #214524
split-complementary
#213045 #452421 #424521
monochromatic
#0A0E15 #0D131C #213045 #354D6E #496A98

Accessibility & contrast

On white

13.35
#213045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#213045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213045
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213045#FFFFFF#000000##FFFFFF
##2130451.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283146
Deuteranopia (green-blind)
#242E45
Tritanopia (blue-blind)
#123537
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #213045;
/* rgb */ color: rgb(33, 48, 69);
/* oklch */ color: oklch(30.6% 0.043 256.9);
Tailwind
colors: {
  custom: {
    50: '#5e6878',
    500: '#213045',
    950: '#000000',
  },
}
SCSS
$custom: #213045;
$custom-light: #5e6878;
$custom-dark: #000000;
JSON
{
  "hex": "#213045",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 215,
    "s": 35.294,
    "l": 20
  },
  "oklch": {
    "l": 0.30608,
    "c": 0.0432,
    "h": 256.9
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#213045
secondary
#796549
accent
#9D5CCB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040609
muted
#797A7B

Preview Lab

Preview with #213045

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

Preview Lab → · Contrast checker → · Palette generator →

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