#201A7C#201A7C

#201A7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.156 H 274.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#201A7C
RGBrgb(32, 26, 124)
HSLhsl(244, 65%, 29%)
HSVhsv(244, 79%, 49%)
CMYKcmyk(74.2%, 79%, 0%, 51.4%)
CIE-LABlab(17.92, 36.02, -53.87)
CIE-LCHlch(17.92, 64.81, 303.77°)
OKLaboklab(30.81% 0.0131 -0.1558)
OKLCHoklch(30.81% 0.156 274.8)
XYZxyz(4.6019, 2.5007, 19.3050)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A7C #767C1A
analogous
#1A457C #201A7C #511A7C
triadic
#201A7C #7C201A #1A7C20
tetradic
#201A7C #7C1A45 #767C1A #1A7C51
square
#201A7C #7C1A45 #767C1A #1A7C51
split-complementary
#201A7C #7C511A #457C1A
monochromatic
#070519 #130F49 #201A7C #2D25AF #443BD6

Accessibility & contrast

On white

14.00
#201A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#201A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A7C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A7C#FFFFFF#000000##FFFFFF
##201A7C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201a7c;
/* rgb */ color: rgb(32, 26, 124);
/* oklch */ color: oklch(30.8% 0.156 274.8);
Tailwind
colors: {
  custom: {
    50: '#6b58a3',
    500: '#201a7c',
    950: '#000000',
  },
}
SCSS
$custom: #201a7c;
$custom-light: #6b58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#201a7c",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 243.673,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30805,
    "c": 0.15635,
    "h": 274.8
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#201A7C
secondary
#A9B042
accent
#E840DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #201A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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