#201854#201854

#201854 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.104 H 282.6°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#201854
RGBrgb(32, 24, 84)
HSLhsl(248, 56%, 21%)
HSVhsv(248, 71%, 33%)
CMYKcmyk(61.9%, 71.4%, 0%, 67.1%)
CIE-LABlab(13.23, 23.13, -35.28)
CIE-LCHlch(13.23, 42.19, 303.25°)
OKLaboklab(26.18% 0.0226 -0.1015)
OKLCHoklch(26.18% 0.104 282.6)
XYZxyz(2.5220, 1.6003, 8.5618)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201854 #4C5418
analogous
#182E54 #201854 #3E1854
triadic
#201854 #542018 #185420
tetradic
#201854 #54182E #4C5418 #18543E
square
#201854 #54182E #4C5418 #18543E
split-complementary
#201854 #543E18 #2E5418
monochromatic
#090718 #0E0A24 #201854 #322684 #4433B3

Accessibility & contrast

On white

15.91
#201854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201854
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201854#FFFFFF#000000##FFFFFF
##2018541.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#052733
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201854;
/* rgb */ color: rgb(32, 24, 84);
/* oklch */ color: oklch(26.2% 0.104 282.6);
Tailwind
colors: {
  custom: {
    50: '#625585',
    500: '#201854',
    950: '#000000',
  },
}
SCSS
$custom: #201854;
$custom-light: #625585;
$custom-dark: #000000;
JSON
{
  "hex": "#201854",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 248,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26181,
    "c": 0.10396,
    "h": 282.6
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#201854
secondary
#808B3D
accent
#DF49CB
background
#F6F5F8
surface
#EBE8EF
border
#C6C4CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201854

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

Preview Lab → · Contrast checker → · Palette generator →

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