#201A57#201A57

#201A57 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.106 H 281.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#201A57
RGBrgb(32, 26, 87)
HSLhsl(246, 54%, 22%)
HSVhsv(246, 70%, 34%)
CMYKcmyk(63.2%, 70.1%, 0%, 65.9%)
CIE-LABlab(14.02, 22.86, -36.02)
CIE-LCHlch(14.02, 42.67, 302.40°)
OKLaboklab(26.84% 0.0202 -0.1036)
OKLCHoklch(26.84% 0.106 281)
XYZxyz(2.6848, 1.7338, 9.2082)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A57 #51571A
analogous
#1A3257 #201A57 #3F1A57
triadic
#201A57 #57201A #1A5720
tetradic
#201A57 #571A32 #51571A #1A573F
square
#201A57 #571A32 #51571A #1A573F
split-complementary
#201A57 #573F1A #32571A
monochromatic
#090718 #0F0C28 #201A57 #312886 #4336B5

Accessibility & contrast

On white

15.59
#201A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#201A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A57
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A57#FFFFFF#000000##FFFFFF
##201A571.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#012935
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201a57;
/* rgb */ color: rgb(32, 26, 87);
/* oklch */ color: oklch(26.8% 0.106 281.0);
Tailwind
colors: {
  custom: {
    50: '#635787',
    500: '#201a57',
    950: '#000000',
  },
}
SCSS
$custom: #201a57;
$custom-light: #635787;
$custom-dark: #000000;
JSON
{
  "hex": "#201a57",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 245.902,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26843,
    "c": 0.10558,
    "h": 281
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#201A57
secondary
#858D40
accent
#DD4ACF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201A57

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

Preview Lab → · Contrast checker → · Palette generator →

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