#21369F#21369F

#21369F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.171 H 268.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#21369F
RGBrgb(33, 54, 159)
HSLhsl(230, 66%, 38%)
HSVhsv(230, 79%, 62%)
CMYKcmyk(79.2%, 66%, 0%, 37.6%)
CIE-LABlab(28.02, 31.22, -59.01)
CIE-LCHlch(28.02, 66.76, 297.88°)
OKLaboklab(39.18% -0.0054 -0.1708)
OKLCHoklch(39.18% 0.171 268.2)
XYZxyz(8.2022, 5.4639, 33.4165)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21369F #9F8A21
analogous
#21759F #21369F #4B219F
triadic
#21369F #9F2136 #369F21
tetradic
#21369F #9F2175 #9F8A21 #219F4B
square
#21369F #9F2175 #9F8A21 #219F4B
split-complementary
#21369F #9F4B21 #759F21
monochromatic
#0C143A #16256C #21369F #2C47D2 #5D72DD

Accessibility & contrast

On white

10.03
#21369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#21369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21369F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21369F#FFFFFF#000000##FFFFFF
##21369F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #21369f;
/* rgb */ color: rgb(33, 54, 159);
/* oklch */ color: oklch(39.2% 0.171 268.2);
Tailwind
colors: {
  custom: {
    50: '#726dbc',
    500: '#21369f',
    950: '#000000',
  },
}
SCSS
$custom: #21369f;
$custom-light: #726dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#21369f",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 230,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.17089,
    "h": 268.2
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#21369F
secondary
#C2B15A
accent
#CC3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21369F

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

Preview Lab → · Contrast checker → · Palette generator →

#21369F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva