#2032A7#2032A7

#2032A7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.186 H 268.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2032A7
RGBrgb(32, 50, 167)
HSLhsl(232, 68%, 39%)
HSVhsv(232, 81%, 65%)
CMYKcmyk(80.8%, 70.1%, 0%, 34.5%)
CIE-LABlab(27.78, 36.69, -64.24)
CIE-LCHlch(27.78, 73.98, 299.73°)
OKLaboklab(39.23% -0.0049 -0.1861)
OKLCHoklch(39.23% 0.186 268.5)
XYZxyz(8.7089, 5.3773, 37.1306)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2032A7 #A79520
analogous
#2076A7 #2032A7 #5220A7
triadic
#2032A7 #A72032 #32A720
tetradic
#2032A7 #A72076 #A79520 #20A752
square
#2032A7 #A72076 #A79520 #20A752
split-complementary
#2032A7 #A75220 #76A720
monochromatic
#0C1340 #162374 #2032A7 #2D44D7 #6172E1

Accessibility & contrast

On white

10.12
#2032A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2032A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2032A7
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2032A7#FFFFFF#000000##FFFFFF
##2032A71.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2032a7;
/* rgb */ color: rgb(32, 50, 167);
/* oklch */ color: oklch(39.2% 0.186 268.5);
Tailwind
colors: {
  custom: {
    50: '#746ac2',
    500: '#2032a7',
    950: '#000000',
  },
}
SCSS
$custom: #2032a7;
$custom-light: #746ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2032a7",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 232,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39228,
    "c": 0.18615,
    "h": 268.5
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#2032A7
secondary
#C5B85D
accent
#D43DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2032A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2032A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva