#2C3383#2C3383

#2C3383 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.133 H 274.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2C3383
RGBrgb(44, 51, 131)
HSLhsl(235, 50%, 34%)
HSVhsv(235, 66%, 51%)
CMYKcmyk(66.4%, 61.1%, 0%, 48.6%)
CIE-LABlab(25.39, 24.15, -46.03)
CIE-LCHlch(25.39, 51.98, 297.69°)
OKLaboklab(36.64% 0.0093 -0.1325)
OKLCHoklch(36.64% 0.133 274)
XYZxyz(6.3179, 4.5413, 22.0119)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3383 #837C2C
analogous
#2C5F83 #2C3383 #512C83
triadic
#2C3383 #832C33 #33832C
tetradic
#2C3383 #832C5F #837C2C #2C8351
square
#2C3383 #832C5F #837C2C #2C8351
split-complementary
#2C3383 #83512C #5F832C
monochromatic
#0D0F27 #1D2155 #2C3383 #3B45B1 #6068CA

Accessibility & contrast

On white

11.00
#2C3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3383
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3383#FFFFFF#000000##FFFFFF
##2C33831.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3383;
/* rgb */ color: rgb(44, 51, 131);
/* oklch */ color: oklch(36.6% 0.133 274.0);
Tailwind
colors: {
  custom: {
    50: '#706aa8',
    500: '#2c3383',
    950: '#000000',
  },
}
SCSS
$custom: #2c3383;
$custom-light: #706aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3383",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 235.172,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.13281,
    "h": 274
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#2C3383
secondary
#B0A95B
accent
#CE4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3383

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

Preview Lab → · Contrast checker → · Palette generator →

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