#201962#201962

#201962 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.123 H 279.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#201962
RGBrgb(32, 25, 98)
HSLhsl(246, 59%, 24%)
HSVhsv(246, 74%, 38%)
CMYKcmyk(67.3%, 74.5%, 0%, 61.6%)
CIE-LABlab(14.87, 27.52, -42.00)
CIE-LCHlch(14.87, 50.21, 303.23°)
OKLaboklab(27.79% 0.0194 -0.1212)
OKLCHoklch(27.79% 0.123 279.1)
XYZxyz(3.1472, 1.8839, 11.7507)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201962 #5B6219
analogous
#193762 #201962 #451962
triadic
#201962 #622019 #196220
tetradic
#201962 #621937 #5B6219 #196245
square
#201962 #621937 #5B6219 #196245
split-complementary
#201962 #624519 #376219
monochromatic
#080618 #100D31 #201962 #302593 #4032C4

Accessibility & contrast

On white

15.25
#201962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#201962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201962
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201962#FFFFFF#000000##FFFFFF
##2019621.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002261
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201962;
/* rgb */ color: rgb(32, 25, 98);
/* oklch */ color: oklch(27.8% 0.123 279.1);
Tailwind
colors: {
  custom: {
    50: '#65568f',
    500: '#201962',
    950: '#000000',
  },
}
SCSS
$custom: #201962;
$custom-light: #65568f;
$custom-dark: #000000;
JSON
{
  "hex": "#201962",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 245.753,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27785,
    "c": 0.12271,
    "h": 279.1
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#201962
secondary
#8F983F
accent
#E345D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201962

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

Preview Lab → · Contrast checker → · Palette generator →

#201962 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva