#2C32A9#2C32A9

#2C32A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.186 H 272.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2C32A9
RGBrgb(44, 50, 169)
HSLhsl(237, 59%, 42%)
HSVhsv(237, 74%, 66%)
CMYKcmyk(74%, 70.4%, 0%, 33.7%)
CIE-LABlab(28.59, 38.51, -64.09)
CIE-LCHlch(28.59, 74.78, 301.00°)
OKLaboklab(40.04% 0.0071 -0.1854)
OKLCHoklch(40.04% 0.186 272.2)
XYZxyz(9.3383, 5.6803, 38.1327)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32A9 #A9A32C
analogous
#2C71A9 #2C32A9 #652CA9
triadic
#2C32A9 #A92C32 #32A92C
tetradic
#2C32A9 #A92C71 #A9A32C #2CA965
square
#2C32A9 #A92C71 #A9A32C #2CA965
split-complementary
#2C32A9 #A9652C #71A92C
monochromatic
#131548 #1F2478 #2C32A9 #444BCE #7479DB

Accessibility & contrast

On white

9.83
#2C32A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C32A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32A9
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32A9#FFFFFF#000000##FFFFFF
##2C32A91.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c32a9;
/* rgb */ color: rgb(44, 50, 169);
/* oklch */ color: oklch(40.0% 0.186 272.2);
Tailwind
colors: {
  custom: {
    50: '#796bc4',
    500: '#2c32a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c32a9;
$custom-light: #796bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32a9",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 237.12,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.18556,
    "h": 272.2
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#2C32A9
secondary
#C3BF6E
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2C32A9

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

Preview Lab → · Contrast checker → · Palette generator →

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