#21365E#21365E

#21365E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.7% C 0.076 H 262.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#21365E
RGBrgb(33, 54, 94)
HSLhsl(219, 48%, 25%)
HSVhsv(219, 65%, 37%)
CMYKcmyk(64.9%, 42.6%, 0%, 63.1%)
CIE-LABlab(22.89, 5.78, -26.39)
CIE-LCHlch(22.89, 27.01, 282.35°)
OKLaboklab(33.71% -0.0103 -0.075)
OKLCHoklch(33.71% 0.076 262.2)
XYZxyz(3.9660, 3.7695, 11.1061)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21365E #5E4921
analogous
#21555E #21365E #2B215E
triadic
#21365E #5E2136 #365E21
tetradic
#21365E #5E2155 #5E4921 #215E2B
square
#21365E #5E2155 #5E4921 #215E2B
split-complementary
#21365E #5E2B21 #555E21
monochromatic
#080D17 #111C31 #21365E #31508B #416AB9

Accessibility & contrast

On white

11.97
#21365E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#21365E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21365E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21365E#FFFFFF#000000##FFFFFF
##21365E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#1C345D
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #21365e;
/* rgb */ color: rgb(33, 54, 94);
/* oklch */ color: oklch(33.7% 0.076 262.2);
Tailwind
colors: {
  custom: {
    50: '#636c8c',
    500: '#21365e',
    950: '#000000',
  },
}
SCSS
$custom: #21365e;
$custom-light: #636c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#21365e",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 94
  },
  "hsl": {
    "h": 219.344,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.07569,
    "h": 262.2
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#21365E
secondary
#927949
accent
#A950D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #21365E

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

Preview Lab → · Contrast checker → · Palette generator →

#21365E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva