#201A45#201A45

#201A45 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.078 H 285.8°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#201A45
RGBrgb(32, 26, 69)
HSLhsl(248, 45%, 19%)
HSVhsv(248, 62%, 27%)
CMYKcmyk(53.6%, 62.3%, 0%, 72.9%)
CIE-LABlab(12.45, 16.30, -26.23)
CIE-LCHlch(12.45, 30.88, 301.85°)
OKLaboklab(25.2% 0.0211 -0.0748)
OKLCHoklch(25.2% 0.078 285.8)
XYZxyz(2.0389, 1.4754, 5.8064)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A45 #3F451A
analogous
#1A2945 #201A45 #351A45
triadic
#201A45 #45201A #1A4520
tetradic
#201A45 #451A29 #3F451A #1A4535
square
#201A45 #451A29 #3F451A #1A4535
split-complementary
#201A45 #45351A #29451A
monochromatic
#0A0816 #0B0919 #201A45 #352B71 #493B9E

Accessibility & contrast

On white

16.21
#201A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#201A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A45
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A45#FFFFFF#000000##FFFFFF
##201A451.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032246
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#13242C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201a45;
/* rgb */ color: rgb(32, 26, 69);
/* oklch */ color: oklch(25.2% 0.078 285.8);
Tailwind
colors: {
  custom: {
    50: '#5f5679',
    500: '#201a45',
    950: '#000000',
  },
}
SCSS
$custom: #201a45;
$custom-light: #5f5679;
$custom-dark: #000000;
JSON
{
  "hex": "#201a45",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 248.372,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25195,
    "c": 0.07776,
    "h": 285.8
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#201A45
secondary
#737B40
accent
#D553C3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050309
muted
#79787B

Preview Lab

Preview with #201A45

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

Preview Lab → · Contrast checker → · Palette generator →

#201A45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva