#202146#202146

#202146 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.068 H 279.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#202146
RGBrgb(32, 33, 70)
HSLhsl(238, 37%, 20%)
HSVhsv(238, 54%, 27%)
CMYKcmyk(54.3%, 52.9%, 0%, 72.5%)
CIE-LABlab(14.61, 11.53, -23.46)
CIE-LCHlch(14.61, 26.14, 296.17°)
OKLaboklab(26.83% 0.0113 -0.0667)
OKLCHoklch(26.83% 0.068 279.6)
XYZxyz(2.2447, 1.8369, 6.0294)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202146 #464520
analogous
#203446 #202146 #322046
triadic
#202146 #462021 #214620
tetradic
#202146 #462034 #464520 #204632
square
#202146 #462034 #464520 #204632
split-complementary
#202146 #463220 #344620
monochromatic
#0A0A15 #0D0D1C #202146 #333570 #46499A

Accessibility & contrast

On white

15.36
#202146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#202146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202146
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202146#FFFFFF#000000##FFFFFF
##2021461.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112647
Deuteranopia (green-blind)
#0E2345
Tritanopia (blue-blind)
#122930
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #202146;
/* rgb */ color: rgb(32, 33, 70);
/* oklch */ color: oklch(26.8% 0.068 279.6);
Tailwind
colors: {
  custom: {
    50: '#5e5c7a',
    500: '#202146',
    950: '#000000',
  },
}
SCSS
$custom: #202146;
$custom-light: #5e5c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#202146",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 238.421,
    "s": 37.255,
    "l": 20
  },
  "oklch": {
    "l": 0.26834,
    "c": 0.06761,
    "h": 279.6
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#202146
secondary
#7A7948
accent
#CA5BCD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #202146

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

Preview Lab → · Contrast checker → · Palette generator →

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