#2C3284#2C3284

#2C3284 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.136 H 274.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2C3284
RGBrgb(44, 50, 132)
HSLhsl(236, 50%, 35%)
HSVhsv(236, 67%, 52%)
CMYKcmyk(66.7%, 62.1%, 0%, 48.2%)
CIE-LABlab(25.21, 25.20, -46.95)
CIE-LCHlch(25.21, 53.28, 298.23°)
OKLaboklab(36.53% 0.0102 -0.1352)
OKLCHoklch(36.53% 0.136 274.3)
XYZxyz(6.3428, 4.4821, 22.3562)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3284 #847E2C
analogous
#2C5E84 #2C3284 #522C84
triadic
#2C3284 #842C32 #32842C
tetradic
#2C3284 #842C5E #847E2C #2C8452
square
#2C3284 #842C5E #847E2C #2C8452
split-complementary
#2C3284 #84522C #5E842C
monochromatic
#0D0F28 #1D2156 #2C3284 #3B43B2 #6068CA

Accessibility & contrast

On white

11.07
#2C3284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C3284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3284
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3284#FFFFFF#000000##FFFFFF
##2C32841.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3284;
/* rgb */ color: rgb(44, 50, 132);
/* oklch */ color: oklch(36.5% 0.136 274.3);
Tailwind
colors: {
  custom: {
    50: '#706aa8',
    500: '#2c3284',
    950: '#000000',
  },
}
SCSS
$custom: #2c3284;
$custom-light: #706aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3284",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 235.909,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.13559,
    "h": 274.3
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#2C3284
secondary
#B0AB5C
accent
#D04EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3284

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

Preview Lab → · Contrast checker → · Palette generator →

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