#2C32A2#2C32A2

#2C32A2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.177 H 272.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2C32A2
RGBrgb(44, 50, 162)
HSLhsl(237, 57%, 40%)
HSVhsv(237, 73%, 64%)
CMYKcmyk(72.8%, 69.1%, 0%, 36.5%)
CIE-LABlab(27.91, 36.05, -60.99)
CIE-LCHlch(27.91, 70.85, 300.59°)
OKLaboklab(39.34% 0.008 -0.1763)
OKLCHoklch(39.34% 0.177 272.6)
XYZxyz(8.6987, 5.4244, 34.7640)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32A2 #A29C2C
analogous
#2C6DA2 #2C32A2 #612CA2
triadic
#2C32A2 #A22C32 #32A22C
tetradic
#2C32A2 #A22C6D #A29C2C #2CA261
square
#2C32A2 #A22C6D #A29C2C #2CA261
split-complementary
#2C32A2 #A2612C #6DA22C
monochromatic
#121442 #1F2372 #2C32A2 #4047CB #7075D8

Accessibility & contrast

On white

10.07
#2C32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32A2
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32A2#FFFFFF#000000##FFFFFF
##2C32A21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c32a2;
/* rgb */ color: rgb(44, 50, 162);
/* oklch */ color: oklch(39.3% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#776abf',
    500: '#2c32a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c32a2;
$custom-light: #776abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32a2",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 236.949,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.17652,
    "h": 272.6
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#2C32A2
secondary
#BFBB6A
accent
#D947E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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