#2C3586#2C3586

#2C3586 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.134 H 273.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2C3586
RGBrgb(44, 53, 134)
HSLhsl(234, 51%, 35%)
HSVhsv(234, 67%, 53%)
CMYKcmyk(67.2%, 60.4%, 0%, 47.5%)
CIE-LABlab(26.16, 23.91, -46.64)
CIE-LCHlch(26.16, 52.41, 297.15°)
OKLaboklab(37.29% 0.0074 -0.1342)
OKLCHoklch(37.29% 0.134 273.2)
XYZxyz(6.6135, 4.8023, 23.1281)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3586 #867D2C
analogous
#2C6286 #2C3586 #502C86
triadic
#2C3586 #862C35 #35862C
tetradic
#2C3586 #862C62 #867D2C #2C8650
square
#2C3586 #862C62 #867D2C #2C8650
split-complementary
#2C3586 #86502C #62862C
monochromatic
#0E112A #1D2358 #2C3586 #3B47B4 #616CCB

Accessibility & contrast

On white

10.71
#2C3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3586
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3586#FFFFFF#000000##FFFFFF
##2C35861.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3586;
/* rgb */ color: rgb(44, 53, 134);
/* oklch */ color: oklch(37.3% 0.134 273.2);
Tailwind
colors: {
  custom: {
    50: '#706caa',
    500: '#2c3586',
    950: '#000000',
  },
}
SCSS
$custom: #2c3586;
$custom-light: #706caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3586",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 234,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37291,
    "c": 0.13446,
    "h": 273.2
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#2C3586
secondary
#B1A95C
accent
#CC4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3586

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

Preview Lab → · Contrast checker → · Palette generator →

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