#2031BC#2031BC

#2031BC is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.213 H 268.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2031BC
RGBrgb(32, 49, 188)
HSLhsl(233, 71%, 43%)
HSVhsv(233, 83%, 74%)
CMYKcmyk(83%, 73.9%, 0%, 26.3%)
CIE-LABlab(29.75, 44.75, -73.54)
CIE-LCHlch(29.75, 86.08, 301.33°)
OKLaboklab(41.29% -0.0069 -0.2131)
OKLCHoklch(41.29% 0.213 268.2)
XYZxyz(10.7679, 6.1332, 48.1835)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2031BC #BCAB20
analogous
#207FBC #2031BC #5D20BC
triadic
#2031BC #BC2031 #31BC20
tetradic
#2031BC #BC207F #BCAB20 #20BC5D
square
#2031BC #BC207F #BCAB20 #20BC5D
split-complementary
#2031BC #BC5D20 #7FBC20
monochromatic
#0E1653 #172388 #2031BC #3B4DDE #707DE7

Accessibility & contrast

On white

9.43
#2031BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2031BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2031BC
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2031BC#FFFFFF#000000##FFFFFF
##2031BC1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#003EBA
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2031bc;
/* rgb */ color: rgb(32, 49, 188);
/* oklch */ color: oklch(41.3% 0.213 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a6ad2',
    500: '#2031bc',
    950: '#000000',
  },
}
SCSS
$custom: #2031bc;
$custom-light: #7a6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2031bc",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 233.462,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41289,
    "c": 0.21324,
    "h": 268.2
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#2031BC
secondary
#CDC26B
accent
#DA3AEE
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2031BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2031BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva