#201852#201852

#201852 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.101 H 283.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#201852
RGBrgb(32, 24, 82)
HSLhsl(248, 55%, 21%)
HSVhsv(248, 71%, 32%)
CMYKcmyk(61%, 70.7%, 0%, 67.8%)
CIE-LABlab(13.04, 22.41, -34.23)
CIE-LCHlch(13.04, 40.92, 303.21°)
OKLaboklab(25.99% 0.0229 -0.0984)
OKLCHoklch(25.99% 0.101 283.1)
XYZxyz(2.4448, 1.5694, 8.1551)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201852 #4A5218
analogous
#182D52 #201852 #3D1852
triadic
#201852 #522018 #185220
tetradic
#201852 #52182D #4A5218 #18523D
square
#201852 #52182D #4A5218 #18523D
split-complementary
#201852 #523D18 #2D5218
monochromatic
#090718 #0E0A23 #201852 #322681 #4534B1

Accessibility & contrast

On white

15.98
#201852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#201852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201852
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201852#FFFFFF#000000##FFFFFF
##2018521.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#082632
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201852;
/* rgb */ color: rgb(32, 24, 82);
/* oklch */ color: oklch(26.0% 0.101 283.1);
Tailwind
colors: {
  custom: {
    50: '#625583',
    500: '#201852',
    950: '#000000',
  },
}
SCSS
$custom: #201852;
$custom-light: #625583;
$custom-dark: #000000;
JSON
{
  "hex": "#201852",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 248.276,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25985,
    "c": 0.101,
    "h": 283.1
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#201852
secondary
#7E893D
accent
#DE4ACA
background
#F6F5F8
surface
#EBE8EF
border
#C6C4CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201852

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

Preview Lab → · Contrast checker → · Palette generator →

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