#2032A8#2032A8

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

Color values

HEX#2032A8
RGBrgb(32, 50, 168)
HSLhsl(232, 68%, 39%)
HSVhsv(232, 81%, 66%)
CMYKcmyk(81%, 70.2%, 0%, 34.1%)
CIE-LABlab(27.88, 37.05, -64.68)
CIE-LCHlch(27.88, 74.54, 299.81°)
OKLaboklab(39.33% -0.005 -0.1874)
OKLCHoklch(39.33% 0.187 268.5)
XYZxyz(8.8017, 5.4144, 37.6194)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2032A8 #A89620
analogous
#2076A8 #2032A8 #5220A8
triadic
#2032A8 #A82032 #32A820
tetradic
#2032A8 #A82076 #A89620 #20A852
square
#2032A8 #A82076 #A89620 #20A852
split-complementary
#2032A8 #A85220 #76A820
monochromatic
#0C1341 #162375 #2032A8 #2E44D7 #6172E1

Accessibility & contrast

On white

10.08
#2032A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2032A8
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2032A8#FFFFFF#000000##FFFFFF
##2032A81.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2032a8;
/* rgb */ color: rgb(32, 50, 168);
/* oklch */ color: oklch(39.3% 0.187 268.5);
Tailwind
colors: {
  custom: {
    50: '#756ac3',
    500: '#2032a8',
    950: '#000000',
  },
}
SCSS
$custom: #2032a8;
$custom-light: #756ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2032a8",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 232.059,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.18744,
    "h": 268.5
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2032A8

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

Preview Lab → · Contrast checker → · Palette generator →

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