#2C32A5#2C32A5

#2C32A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.180 H 272.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2C32A5
RGBrgb(44, 50, 165)
HSLhsl(237, 58%, 41%)
HSVhsv(237, 73%, 65%)
CMYKcmyk(73.3%, 69.7%, 0%, 35.3%)
CIE-LABlab(28.20, 37.11, -62.33)
CIE-LCHlch(28.20, 72.54, 300.77°)
OKLaboklab(39.64% 0.0076 -0.1802)
OKLCHoklch(39.64% 0.18 272.4)
XYZxyz(8.9686, 5.5324, 36.1852)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32A5 #A59F2C
analogous
#2C6EA5 #2C32A5 #622CA5
triadic
#2C32A5 #A52C32 #32A52C
tetradic
#2C32A5 #A52C6E #A59F2C #2CA562
square
#2C32A5 #A52C6E #A59F2C #2CA562
split-complementary
#2C32A5 #A5622C #6EA52C
monochromatic
#121544 #1F2375 #2C32A5 #4249CD #7277D9

Accessibility & contrast

On white

9.97
#2C32A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C32A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32A5
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32A5#FFFFFF#000000##FFFFFF
##2C32A51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c32a5;
/* rgb */ color: rgb(44, 50, 165);
/* oklch */ color: oklch(39.6% 0.180 272.4);
Tailwind
colors: {
  custom: {
    50: '#786ac1',
    500: '#2c32a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c32a5;
$custom-light: #786ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32a5",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 237.025,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39637,
    "c": 0.18041,
    "h": 272.4
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#2C32A5
secondary
#C1BD6C
accent
#D947E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C32A5

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

Preview Lab → · Contrast checker → · Palette generator →

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