#2C3391#2C3391

#2C3391 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.153 H 273.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2C3391
RGBrgb(44, 51, 145)
HSLhsl(236, 53%, 37%)
HSVhsv(236, 70%, 57%)
CMYKcmyk(69.7%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.58, 29.30, -52.77)
CIE-LCHlch(26.58, 60.36, 299.04°)
OKLaboklab(37.89% 0.0088 -0.1523)
OKLCHoklch(37.89% 0.153 273.3)
XYZxyz(7.3317, 4.9468, 27.3510)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3391 #918A2C
analogous
#2C6591 #2C3391 #582C91
triadic
#2C3391 #912C33 #33912C
tetradic
#2C3391 #912C65 #918A2C #2C9158
square
#2C3391 #912C65 #918A2C #2C9158
split-complementary
#2C3391 #91582C #65912C
monochromatic
#101233 #1E2262 #2C3391 #3A44C0 #676ED1

Accessibility & contrast

On white

10.56
#2C3391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C3391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3391
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3391#FFFFFF#000000##FFFFFF
##2C33911.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3391;
/* rgb */ color: rgb(44, 51, 145);
/* oklch */ color: oklch(37.9% 0.153 273.3);
Tailwind
colors: {
  custom: {
    50: '#736bb2',
    500: '#2c3391',
    950: '#000000',
  },
}
SCSS
$custom: #2c3391;
$custom-light: #736bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3391",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 235.842,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.15255,
    "h": 273.3
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#2C3391
secondary
#B7B162
accent
#D34BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3391

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

Preview Lab → · Contrast checker → · Palette generator →

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