#201F75#201F75

#201F75 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.142 H 274.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#201F75
RGBrgb(32, 31, 117)
HSLhsl(241, 58%, 29%)
HSVhsv(241, 74%, 46%)
CMYKcmyk(72.6%, 73.5%, 0%, 54.1%)
CIE-LABlab(18.24, 30.53, -48.87)
CIE-LCHlch(18.24, 57.62, 301.99°)
OKLaboklab(30.8% 0.0116 -0.1412)
OKLCHoklch(30.8% 0.142 274.7)
XYZxyz(4.2955, 2.5710, 17.0961)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F75 #74751F
analogous
#1F4975 #201F75 #4B1F75
triadic
#201F75 #75201F #1F7520
tetradic
#201F75 #751F49 #74751F #1F754B
square
#201F75 #751F49 #74751F #1F754B
split-complementary
#201F75 #754B1F #49751F
monochromatic
#070618 #131245 #201F75 #2D2CA5 #4342CD

Accessibility & contrast

On white

13.87
#201F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F75
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F75#FFFFFF#000000##FFFFFF
##201F751.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201f75;
/* rgb */ color: rgb(32, 31, 117);
/* oklch */ color: oklch(30.8% 0.142 274.7);
Tailwind
colors: {
  custom: {
    50: '#695b9e',
    500: '#201f75',
    950: '#000000',
  },
}
SCSS
$custom: #201f75;
$custom-light: #695b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#201f75",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 240.698,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.308,
    "c": 0.14173,
    "h": 274.7
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#201F75
secondary
#A8A947
accent
#E146E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201F75

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

Preview Lab → · Contrast checker → · Palette generator →

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