#2031A0#2031A0

#2031A0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.178 H 268.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2031A0
RGBrgb(32, 49, 160)
HSLhsl(232, 67%, 38%)
HSVhsv(232, 80%, 63%)
CMYKcmyk(80%, 69.4%, 0%, 37.3%)
CIE-LABlab(26.85, 34.76, -61.54)
CIE-LCHlch(26.85, 70.68, 299.46°)
OKLaboklab(38.34% -0.0038 -0.1782)
OKLCHoklch(38.34% 0.178 268.8)
XYZxyz(8.0370, 5.0408, 33.8003)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2031A0 #A08F20
analogous
#2071A0 #2031A0 #4F20A0
triadic
#2031A0 #A02031 #31A020
tetradic
#2031A0 #A02071 #A08F20 #20A04F
square
#2031A0 #A02071 #A08F20 #20A04F
split-complementary
#2031A0 #A04F20 #71A020
monochromatic
#0C123A #16216D #2031A0 #2A41D3 #5C6DDE

Accessibility & contrast

On white

10.46
#2031A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2031A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2031A0
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2031A0#FFFFFF#000000##FFFFFF
##2031A01.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2031a0;
/* rgb */ color: rgb(32, 49, 160);
/* oklch */ color: oklch(38.3% 0.178 268.8);
Tailwind
colors: {
  custom: {
    50: '#7369bd',
    500: '#2031a0',
    950: '#000000',
  },
}
SCSS
$custom: #2031a0;
$custom-light: #7369bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2031a0",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 232.031,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.17826,
    "h": 268.8
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#2031A0
secondary
#C3B559
accent
#D33EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #2031A0

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

Preview Lab → · Contrast checker → · Palette generator →

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