#2C3396#2C3396

#2C3396 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.159 H 273.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2C3396
RGBrgb(44, 51, 150)
HSLhsl(236, 55%, 38%)
HSVhsv(236, 71%, 59%)
CMYKcmyk(70.7%, 66%, 0%, 41.2%)
CIE-LABlab(27.03, 31.11, -55.12)
CIE-LCHlch(27.03, 63.29, 299.45°)
OKLaboklab(38.36% 0.0084 -0.1592)
OKLCHoklch(38.36% 0.159 273)
XYZxyz(7.7257, 5.1044, 29.4263)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3396 #968F2C
analogous
#2C6896 #2C3396 #5A2C96
triadic
#2C3396 #962C33 #33962C
tetradic
#2C3396 #962C68 #968F2C #2C965A
square
#2C3396 #962C68 #968F2C #2C965A
split-complementary
#2C3396 #965A2C #68962C
monochromatic
#101337 #1E2367 #2C3396 #3A43C5 #6970D3

Accessibility & contrast

On white

10.39
#2C3396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C3396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3396
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3396#FFFFFF#000000##FFFFFF
##2C33961.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3396;
/* rgb */ color: rgb(44, 51, 150);
/* oklch */ color: oklch(38.4% 0.159 273.0);
Tailwind
colors: {
  custom: {
    50: '#746bb6',
    500: '#2c3396',
    950: '#000000',
  },
}
SCSS
$custom: #2c3396;
$custom-light: #746bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3396",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 236.038,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.15938,
    "h": 273
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#2C3396
secondary
#BAB464
accent
#D44ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3396

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

Preview Lab → · Contrast checker → · Palette generator →

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