#21349F#21349F

#21349F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.173 H 268.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#21349F
RGBrgb(33, 52, 159)
HSLhsl(231, 66%, 38%)
HSVhsv(231, 79%, 62%)
CMYKcmyk(79.2%, 67.3%, 0%, 37.6%)
CIE-LABlab(27.52, 32.53, -59.83)
CIE-LCHlch(27.52, 68.10, 298.54°)
OKLaboklab(38.81% -0.0043 -0.1732)
OKLCHoklch(38.81% 0.173 268.6)
XYZxyz(8.1110, 5.2816, 33.3861)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21349F #9F8C21
analogous
#21739F #21349F #4D219F
triadic
#21349F #9F2134 #349F21
tetradic
#21349F #9F2173 #9F8C21 #219F4D
square
#21349F #9F2173 #9F8C21 #219F4D
split-complementary
#21349F #9F4D21 #739F21
monochromatic
#0C133A #16236C #21349F #2C45D2 #5D70DD

Accessibility & contrast

On white

10.21
#21349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#21349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21349F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21349F#FFFFFF#000000##FFFFFF
##21349F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #21349f;
/* rgb */ color: rgb(33, 52, 159);
/* oklch */ color: oklch(38.8% 0.173 268.6);
Tailwind
colors: {
  custom: {
    50: '#726bbc',
    500: '#21349f',
    950: '#000000',
  },
}
SCSS
$custom: #21349f;
$custom-light: #726bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#21349f",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 230.952,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38813,
    "c": 0.17324,
    "h": 268.6
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#21349F
secondary
#C2B25A
accent
#CF3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #21349F

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

Preview Lab → · Contrast checker → · Palette generator →

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