#21358F#21358F

#21358F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.150 H 268.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#21358F
RGBrgb(33, 53, 143)
HSLhsl(229, 63%, 35%)
HSVhsv(229, 77%, 56%)
CMYKcmyk(76.9%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.31, 25.78, -52.01)
CIE-LCHlch(26.31, 58.05, 296.36°)
OKLaboklab(37.47% -0.0043 -0.1503)
OKLCHoklch(37.47% 0.15 268.4)
XYZxyz(6.8565, 4.8520, 26.5564)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21358F #8F7B21
analogous
#216C8F #21358F #44218F
triadic
#21358F #8F2135 #358F21
tetradic
#21358F #8F216C #8F7B21 #218F44
square
#21358F #8F216C #8F7B21 #218F44
split-complementary
#21358F #8F4421 #6C8F21
monochromatic
#0A102C #16235D #21358F #2C47C1 #536BD7

Accessibility & contrast

On white

10.66
#21358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#21358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21358F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21358F#FFFFFF#000000##FFFFFF
##21358F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #21358f;
/* rgb */ color: rgb(33, 53, 143);
/* oklch */ color: oklch(37.5% 0.150 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e6cb1',
    500: '#21358f',
    950: '#000000',
  },
}
SCSS
$custom: #21358f;
$custom-light: #6e6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#21358f",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 229.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.15036,
    "h": 268.4
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#21358F
secondary
#BBA851
accent
#C842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #21358F

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

Preview Lab → · Contrast checker → · Palette generator →

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