#201F74#201F74

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

Color values

HEX#201F74
RGBrgb(32, 31, 116)
HSLhsl(241, 58%, 29%)
HSVhsv(241, 73%, 45%)
CMYKcmyk(72.4%, 73.3%, 0%, 54.5%)
CIE-LABlab(18.13, 30.16, -48.40)
CIE-LCHlch(18.13, 57.03, 301.93°)
OKLaboklab(30.69% 0.0118 -0.1399)
OKLCHoklch(30.69% 0.14 274.8)
XYZxyz(4.2370, 2.5476, 16.7881)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F74 #73741F
analogous
#1F4974 #201F74 #4B1F74
triadic
#201F74 #74201F #1F7420
tetradic
#201F74 #741F49 #73741F #1F744B
square
#201F74 #741F49 #73741F #1F744B
split-complementary
#201F74 #744B1F #49741F
monochromatic
#070618 #131244 #201F74 #2D2CA4 #4341CC

Accessibility & contrast

On white

13.91
#201F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F74
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F74#FFFFFF#000000##FFFFFF
##201F741.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201f74;
/* rgb */ color: rgb(32, 31, 116);
/* oklch */ color: oklch(30.7% 0.140 274.8);
Tailwind
colors: {
  custom: {
    50: '#695b9d',
    500: '#201f74',
    950: '#000000',
  },
}
SCSS
$custom: #201f74;
$custom-light: #695b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#201f74",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 240.706,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30694,
    "c": 0.14037,
    "h": 274.8
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#201F74
secondary
#A7A847
accent
#E147DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201F74

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

Preview Lab → · Contrast checker → · Palette generator →

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