#2C327A#2C327A

#2C327A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.121 H 274.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2C327A
RGBrgb(44, 50, 122)
HSLhsl(235, 47%, 33%)
HSVhsv(235, 64%, 48%)
CMYKcmyk(63.9%, 59%, 0%, 52.2%)
CIE-LABlab(24.39, 21.51, -41.97)
CIE-LCHlch(24.39, 47.16, 297.14°)
OKLaboklab(35.67% 0.0103 -0.1206)
OKLCHoklch(35.67% 0.121 274.9)
XYZxyz(5.6910, 4.2214, 18.9235)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C327A #7A742C
analogous
#2C597A #2C327A #4D2C7A
triadic
#2C327A #7A2C32 #327A2C
tetradic
#2C327A #7A2C59 #7A742C #2C7A4D
square
#2C327A #7A2C59 #7A742C #2C7A4D
split-complementary
#2C327A #7A4D2C #597A2C
monochromatic
#0C0D20 #1C204D #2C327A #3C44A7 #5C64C4

Accessibility & contrast

On white

11.39
#2C327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C327A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C327A#FFFFFF#000000##FFFFFF
##2C327A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c327a;
/* rgb */ color: rgb(44, 50, 122);
/* oklch */ color: oklch(35.7% 0.121 274.9);
Tailwind
colors: {
  custom: {
    50: '#6e69a1',
    500: '#2c327a',
    950: '#000000',
  },
}
SCSS
$custom: #2c327a;
$custom-light: #6e69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c327a",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 235.385,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.12101,
    "h": 274.9
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#2C327A
secondary
#AAA457
accent
#CC51D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2C327A

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

Preview Lab → · Contrast checker → · Palette generator →

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