#213768#213768

#213768 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.090 H 264.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#213768
RGBrgb(33, 55, 104)
HSLhsl(221, 52%, 27%)
HSVhsv(221, 68%, 41%)
CMYKcmyk(68.3%, 47.1%, 0%, 59.2%)
CIE-LABlab(23.85, 8.99, -31.36)
CIE-LCHlch(23.85, 32.63, 285.99°)
OKLaboklab(34.66% -0.0093 -0.0896)
OKLCHoklch(34.66% 0.09 264.1)
XYZxyz(4.4912, 4.0548, 13.6400)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213768 #685221
analogous
#215B68 #213768 #2E2168
triadic
#213768 #682137 #376821
tetradic
#213768 #68215B #685221 #21682E
square
#213768 #68215B #685221 #21682E
split-complementary
#213768 #682E21 #5B6821
monochromatic
#070C17 #121E3A #213768 #305096 #4169C3

Accessibility & contrast

On white

11.60
#213768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#213768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213768
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213768#FFFFFF#000000##FFFFFF
##2137681.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#143667
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213768;
/* rgb */ color: rgb(33, 55, 104);
/* oklch */ color: oklch(34.7% 0.090 264.1);
Tailwind
colors: {
  custom: {
    50: '#656d93',
    500: '#213768',
    950: '#000000',
  },
}
SCSS
$custom: #213768;
$custom-light: #656d93;
$custom-dark: #000000;
JSON
{
  "hex": "#213768",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 104
  },
  "hsl": {
    "h": 221.408,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.09005,
    "h": 264.1
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#213768
secondary
#9C8249
accent
#AF4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213768

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

Preview Lab → · Contrast checker → · Palette generator →

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