#2C3392#2C3392

#2C3392 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.154 H 273.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2C3392
RGBrgb(44, 51, 146)
HSLhsl(236, 54%, 37%)
HSVhsv(236, 70%, 57%)
CMYKcmyk(69.9%, 65.1%, 0%, 42.7%)
CIE-LABlab(26.67, 29.66, -53.25)
CIE-LCHlch(26.67, 60.95, 299.12°)
OKLaboklab(37.98% 0.0087 -0.1537)
OKLCHoklch(37.98% 0.154 273.3)
XYZxyz(7.4091, 4.9778, 27.7589)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3392 #928B2C
analogous
#2C6692 #2C3392 #582C92
triadic
#2C3392 #922C33 #33922C
tetradic
#2C3392 #922C66 #928B2C #2C9258
square
#2C3392 #922C66 #928B2C #2C9258
split-complementary
#2C3392 #92582C #66922C
monochromatic
#101234 #1E2363 #2C3392 #3A43C1 #676ED1

Accessibility & contrast

On white

10.52
#2C3392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C3392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3392
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3392#FFFFFF#000000##FFFFFF
##2C33921.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3392;
/* rgb */ color: rgb(44, 51, 146);
/* oklch */ color: oklch(38.0% 0.154 273.3);
Tailwind
colors: {
  custom: {
    50: '#736bb3',
    500: '#2c3392',
    950: '#000000',
  },
}
SCSS
$custom: #2c3392;
$custom-light: #736bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3392",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 235.882,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37984,
    "c": 0.15393,
    "h": 273.3
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3392

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

Preview Lab → · Contrast checker → · Palette generator →

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