#21269A#21269A

#21269A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.182 H 270.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#21269A
RGBrgb(33, 38, 154)
HSLhsl(238, 65%, 37%)
HSVhsv(238, 79%, 60%)
CMYKcmyk(78.6%, 75.3%, 0%, 39.6%)
CIE-LABlab(23.81, 39.49, -62.89)
CIE-LCHlch(23.81, 74.26, 302.12°)
OKLaboklab(35.98% 0.003 -0.1821)
OKLCHoklch(35.98% 0.182 270.9)
XYZxyz(7.1511, 4.0419, 30.9689)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21269A #9A9521
analogous
#21639A #21269A #59219A
triadic
#21269A #9A2126 #269A21
tetradic
#21269A #9A2163 #9A9521 #219A59
square
#21269A #9A2163 #9A9521 #219A59
split-complementary
#21269A #9A5921 #639A21
monochromatic
#0B0D35 #161A68 #21269A #2C32CC #5A5FDC

Accessibility & contrast

On white

11.61
#21269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#21269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21269A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21269A#FFFFFF#000000##FFFFFF
##21269A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #21269a;
/* rgb */ color: rgb(33, 38, 154);
/* oklch */ color: oklch(36.0% 0.182 270.9);
Tailwind
colors: {
  custom: {
    50: '#7262b9',
    500: '#21269a',
    950: '#000000',
  },
}
SCSS
$custom: #21269a;
$custom-light: #7262b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21269a",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 237.521,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35982,
    "c": 0.18213,
    "h": 270.9
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#21269A
secondary
#C0BB57
accent
#E140E8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #21269A

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

Preview Lab → · Contrast checker → · Palette generator →

#21269A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva