#2C3A96#2C3A96

#2C3A96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.151 H 271.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2C3A96
RGBrgb(44, 58, 150)
HSLhsl(232, 55%, 38%)
HSVhsv(232, 71%, 59%)
CMYKcmyk(70.7%, 61.3%, 0%, 41.2%)
CIE-LABlab(28.81, 26.49, -52.22)
CIE-LCHlch(28.81, 58.55, 296.90°)
OKLaboklab(39.66% 0.003 -0.1506)
OKLCHoklch(39.66% 0.151 271.2)
XYZxyz(8.0549, 5.7628, 29.5361)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A96 #96882C
analogous
#2C6F96 #2C3A96 #532C96
triadic
#2C3A96 #962C3A #3A962C
tetradic
#2C3A96 #962C6F #96882C #2C9653
square
#2C3A96 #962C6F #96882C #2C9653
split-complementary
#2C3A96 #96532C #6F962C
monochromatic
#101537 #1E2867 #2C3A96 #3A4CC5 #6977D3

Accessibility & contrast

On white

9.75
#2C3A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C3A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A96
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A96#FFFFFF#000000##FFFFFF
##2C3A961.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3a96;
/* rgb */ color: rgb(44, 58, 150);
/* oklch */ color: oklch(39.7% 0.151 271.2);
Tailwind
colors: {
  custom: {
    50: '#7470b6',
    500: '#2c3a96',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a96;
$custom-light: #7470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a96",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 232.075,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.15062,
    "h": 271.2
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#2C3A96
secondary
#BAAE64
accent
#CA4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3A96

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

Preview Lab → · Contrast checker → · Palette generator →

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