#213D65#213D65

#213D65 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 35.9% C 0.078 H 257.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#213D65
RGBrgb(33, 61, 101)
HSLhsl(215, 51%, 26%)
HSVhsv(215, 67%, 40%)
CMYKcmyk(67.3%, 39.6%, 0%, 60.4%)
CIE-LABlab(25.56, 3.64, -26.70)
CIE-LCHlch(25.56, 26.95, 277.76°)
OKLaboklab(35.92% -0.0169 -0.0758)
OKLCHoklch(35.92% 0.078 257.5)
XYZxyz(4.6441, 4.6000, 12.9525)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D65 #654921
analogous
#215F65 #213D65 #272165
triadic
#213D65 #65213D #3D6521
tetradic
#213D65 #65215F #654921 #216527
square
#213D65 #65215F #654921 #216527
split-complementary
#213D65 #652721 #5F6521
monochromatic
#080E17 #122137 #213D65 #305993 #4075C1

Accessibility & contrast

On white

10.94
#213D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#213D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D65
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D65#FFFFFF#000000##FFFFFF
##213D651.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4067
Deuteranopia (green-blind)
#223A64
Tritanopia (blue-blind)
#00464C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213d65;
/* rgb */ color: rgb(33, 61, 101);
/* oklch */ color: oklch(35.9% 0.078 257.5);
Tailwind
colors: {
  custom: {
    50: '#647291',
    500: '#213d65',
    950: '#000000',
  },
}
SCSS
$custom: #213d65;
$custom-light: #647291;
$custom-dark: #000000;
JSON
{
  "hex": "#213d65",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 101
  },
  "hsl": {
    "h": 215.294,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35922,
    "c": 0.07766,
    "h": 257.5
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#213D65
secondary
#997849
accent
#A04EDA
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213D65

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

Preview Lab → · Contrast checker → · Palette generator →

#213D65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva