#2D32A3#2D32A3

#2D32A3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.178 H 272.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2D32A3
RGBrgb(45, 50, 163)
HSLhsl(237, 57%, 41%)
HSVhsv(237, 72%, 64%)
CMYKcmyk(72.4%, 69.3%, 0%, 36.1%)
CIE-LABlab(28.07, 36.52, -61.33)
CIE-LCHlch(28.07, 71.38, 300.77°)
OKLaboklab(39.5% 0.009 -0.1773)
OKLCHoklch(39.5% 0.178 272.9)
XYZxyz(8.8314, 5.4826, 35.2360)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32A3 #A39E2D
analogous
#2D6DA3 #2D32A3 #632DA3
triadic
#2D32A3 #A32D32 #32A32D
tetradic
#2D32A3 #A32D6D #A39E2D #2DA363
square
#2D32A3 #A32D6D #A39E2D #2DA363
split-complementary
#2D32A3 #A3632D #6DA32D
monochromatic
#131543 #202373 #2D32A3 #4248CB #7277D8

Accessibility & contrast

On white

10.02
#2D32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32A3
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32A3#FFFFFF#000000##FFFFFF
##2D32A31.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d32a3;
/* rgb */ color: rgb(45, 50, 163);
/* oklch */ color: oklch(39.5% 0.178 272.9);
Tailwind
colors: {
  custom: {
    50: '#786abf',
    500: '#2d32a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d32a3;
$custom-light: #786abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32a3",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 237.458,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.17756,
    "h": 272.9
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#2D32A3
secondary
#C0BC6C
accent
#DA48E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D32A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2D32A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva