#2C327F#2C327F

#2C327F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.128 H 274.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2C327F
RGBrgb(44, 50, 127)
HSLhsl(236, 49%, 34%)
HSVhsv(236, 65%, 50%)
CMYKcmyk(65.4%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.79, 23.36, -44.48)
CIE-LCHlch(24.79, 50.24, 297.71°)
OKLaboklab(36.09% 0.0103 -0.1279)
OKLCHoklch(36.09% 0.128 274.6)
XYZxyz(6.0088, 4.3485, 20.5972)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C327F #7F792C
analogous
#2C5B7F #2C327F #4F2C7F
triadic
#2C327F #7F2C32 #327F2C
tetradic
#2C327F #7F2C5B #7F792C #2C7F4F
square
#2C327F #7F2C5B #7F792C #2C7F4F
split-complementary
#2C327F #7F4F2C #5B7F2C
monochromatic
#0D0E24 #1C2052 #2C327F #3C44AC #5E66C7

Accessibility & contrast

On white

11.23
#2C327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C327F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C327F#FFFFFF#000000##FFFFFF
##2C327F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c327f;
/* rgb */ color: rgb(44, 50, 127);
/* oklch */ color: oklch(36.1% 0.128 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f69a5',
    500: '#2c327f',
    950: '#000000',
  },
}
SCSS
$custom: #2c327f;
$custom-light: #6f69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c327f",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 235.663,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36093,
    "c": 0.12836,
    "h": 274.6
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#2C327F
secondary
#ADA759
accent
#CE50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C327F

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

Preview Lab → · Contrast checker → · Palette generator →

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