#2C3393#2C3393

#2C3393 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.155 H 273.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2C3393
RGBrgb(44, 51, 147)
HSLhsl(236, 54%, 37%)
HSVhsv(236, 70%, 58%)
CMYKcmyk(70.1%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.76, 30.02, -53.72)
CIE-LCHlch(26.76, 61.54, 299.20°)
OKLaboklab(38.08% 0.0087 -0.1551)
OKLCHoklch(38.08% 0.155 273.2)
XYZxyz(7.4872, 5.0090, 28.1704)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3393 #938C2C
analogous
#2C6793 #2C3393 #582C93
triadic
#2C3393 #932C33 #33932C
tetradic
#2C3393 #932C67 #938C2C #2C9358
square
#2C3393 #932C67 #938C2C #2C9358
split-complementary
#2C3393 #93582C #67932C
monochromatic
#101235 #1E2364 #2C3393 #3A43C2 #686FD2

Accessibility & contrast

On white

10.49
#2C3393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3393
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3393#FFFFFF#000000##FFFFFF
##2C33931.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3393;
/* rgb */ color: rgb(44, 51, 147);
/* oklch */ color: oklch(38.1% 0.155 273.2);
Tailwind
colors: {
  custom: {
    50: '#736bb4',
    500: '#2c3393',
    950: '#000000',
  },
}
SCSS
$custom: #2c3393;
$custom-light: #736bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3393",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 235.922,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.1553,
    "h": 273.2
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#2C3393
secondary
#B8B263
accent
#D34ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3393

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

Preview Lab → · Contrast checker → · Palette generator →

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