#2C3286#2C3286

#2C3286 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.138 H 274.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2C3286
RGBrgb(44, 50, 134)
HSLhsl(236, 51%, 35%)
HSVhsv(236, 67%, 53%)
CMYKcmyk(67.2%, 62.7%, 0%, 47.5%)
CIE-LABlab(25.37, 25.94, -47.92)
CIE-LCHlch(25.37, 54.49, 298.42°)
OKLaboklab(36.71% 0.0102 -0.1381)
OKLCHoklch(36.71% 0.138 274.2)
XYZxyz(6.4810, 4.5373, 23.0839)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3286 #86802C
analogous
#2C5F86 #2C3286 #532C86
triadic
#2C3286 #862C32 #32862C
tetradic
#2C3286 #862C5F #86802C #2C8653
square
#2C3286 #862C5F #86802C #2C8653
split-complementary
#2C3286 #86532C #5F862C
monochromatic
#0E102A #1D2158 #2C3286 #3B43B4 #6168CB

Accessibility & contrast

On white

11.01
#2C3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3286
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3286#FFFFFF#000000##FFFFFF
##2C32861.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3286;
/* rgb */ color: rgb(44, 50, 134);
/* oklch */ color: oklch(36.7% 0.138 274.2);
Tailwind
colors: {
  custom: {
    50: '#716aaa',
    500: '#2c3286',
    950: '#000000',
  },
}
SCSS
$custom: #2c3286;
$custom-light: #716aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3286",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 236,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36706,
    "c": 0.13843,
    "h": 274.2
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#2C3286
secondary
#B1AC5C
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3286

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

Preview Lab → · Contrast checker → · Palette generator →

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