#2C32A3#2C32A3

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

Color values

HEX#2C32A3
RGBrgb(44, 50, 163)
HSLhsl(237, 57%, 41%)
HSVhsv(237, 73%, 64%)
CMYKcmyk(73%, 69.3%, 0%, 36.1%)
CIE-LABlab(28.01, 36.41, -61.43)
CIE-LCHlch(28.01, 71.41, 300.65°)
OKLaboklab(39.44% 0.0079 -0.1776)
OKLCHoklch(39.44% 0.178 272.5)
XYZxyz(8.7879, 5.4601, 35.2340)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32A3 #A39D2C
analogous
#2C6DA3 #2C32A3 #612CA3
triadic
#2C32A3 #A32C32 #32A32C
tetradic
#2C32A3 #A32C6D #A39D2C #2CA361
square
#2C32A3 #A32C6D #A39D2C #2CA361
split-complementary
#2C32A3 #A3612C #6DA32C
monochromatic
#121443 #1F2373 #2C32A3 #4148CC #7176D9

Accessibility & contrast

On white

10.04
#2C32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C32A3
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32A3#FFFFFF#000000##FFFFFF
##2C32A31.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c32a3;
/* rgb */ color: rgb(44, 50, 163);
/* oklch */ color: oklch(39.4% 0.178 272.5);
Tailwind
colors: {
  custom: {
    50: '#776abf',
    500: '#2c32a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c32a3;
$custom-light: #776abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32a3",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 236.975,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.17782,
    "h": 272.5
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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