#21357D#21357D

#21357D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.125 H 267.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#21357D
RGBrgb(33, 53, 125)
HSLhsl(227, 58%, 31%)
HSVhsv(227, 74%, 49%)
CMYKcmyk(73.6%, 57.6%, 0%, 51%)
CIE-LABlab(24.80, 18.73, -43.24)
CIE-LCHlch(24.80, 47.12, 293.42°)
OKLaboklab(35.87% -0.0047 -0.1245)
OKLCHoklch(35.87% 0.125 267.8)
XYZxyz(5.6007, 4.3496, 19.9425)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21357D #7D6921
analogous
#21637D #21357D #3B217D
triadic
#21357D #7D2135 #357D21
tetradic
#21357D #7D2163 #7D6921 #217D3B
square
#21357D #7D2163 #7D6921 #217D3B
split-complementary
#21357D #7D3B21 #637D21
monochromatic
#070C1C #14204D #21357D #2E4AAD #4966CF

Accessibility & contrast

On white

11.23
#21357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#21357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21357D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21357D#FFFFFF#000000##FFFFFF
##21357D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #21357d;
/* rgb */ color: rgb(33, 53, 125);
/* oklch */ color: oklch(35.9% 0.125 267.8);
Tailwind
colors: {
  custom: {
    50: '#6a6ba3',
    500: '#21357d',
    950: '#000000',
  },
}
SCSS
$custom: #21357d;
$custom-light: #6a6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#21357d",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 226.957,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.12464,
    "h": 267.8
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#21357D
secondary
#B09A4A
accent
#C046E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #21357D

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

Preview Lab → · Contrast checker → · Palette generator →

#21357D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva