#2C3399#2C3399

#2C3399 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.163 H 272.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2C3399
RGBrgb(44, 51, 153)
HSLhsl(236, 55%, 39%)
HSVhsv(236, 71%, 60%)
CMYKcmyk(71.2%, 66.7%, 0%, 40%)
CIE-LABlab(27.30, 32.20, -56.51)
CIE-LCHlch(27.30, 65.04, 299.68°)
OKLaboklab(38.64% 0.0082 -0.1632)
OKLCHoklch(38.64% 0.163 272.9)
XYZxyz(7.9704, 5.2023, 30.7149)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3399 #99922C
analogous
#2C6999 #2C3399 #5B2C99
triadic
#2C3399 #992C33 #33992C
tetradic
#2C3399 #992C69 #99922C #2C995B
square
#2C3399 #992C69 #99922C #2C995B
split-complementary
#2C3399 #995B2C #69992C
monochromatic
#11133A #1E2369 #2C3399 #3B44C7 #6B72D4

Accessibility & contrast

On white

10.29
#2C3399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C3399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3399
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3399#FFFFFF#000000##FFFFFF
##2C33991.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3399;
/* rgb */ color: rgb(44, 51, 153);
/* oklch */ color: oklch(38.6% 0.163 272.9);
Tailwind
colors: {
  custom: {
    50: '#756bb8',
    500: '#2c3399',
    950: '#000000',
  },
}
SCSS
$custom: #2c3399;
$custom-light: #756bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3399",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 236.147,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.16344,
    "h": 272.9
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#2C3399
secondary
#BBB666
accent
#D549DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3399

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

Preview Lab → · Contrast checker → · Palette generator →

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