#2C34AD#2C34AD

#2C34AD is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.188 H 271.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2C34AD
RGBrgb(44, 52, 173)
HSLhsl(236, 59%, 43%)
HSVhsv(236, 75%, 68%)
CMYKcmyk(74.6%, 69.9%, 0%, 32.2%)
CIE-LABlab(29.43, 38.69, -65.11)
CIE-LCHlch(29.43, 75.74, 300.72°)
OKLaboklab(40.76% 0.0055 -0.1884)
OKLCHoklch(40.76% 0.188 271.7)
XYZxyz(9.8070, 6.0076, 40.1698)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34AD #ADA52C
analogous
#2C75AD #2C34AD #642CAD
triadic
#2C34AD #AD2C34 #34AD2C
tetradic
#2C34AD #AD2C75 #ADA52C #2CAD64
square
#2C34AD #AD2C75 #ADA52C #2CAD64
split-complementary
#2C34AD #AD642C #75AD2C
monochromatic
#13174B #20257C #2C34AD #464FD0 #777DDC

Accessibility & contrast

On white

9.54
#2C34AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C34AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C34AD
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34AD#FFFFFF#000000##FFFFFF
##2C34AD1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c34ad;
/* rgb */ color: rgb(44, 52, 173);
/* oklch */ color: oklch(40.8% 0.188 271.7);
Tailwind
colors: {
  custom: {
    50: '#7a6cc7',
    500: '#2c34ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c34ad;
$custom-light: #7a6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34ad",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 236.279,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.18847,
    "h": 271.7
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#2C34AD
secondary
#C4BF71
accent
#D945E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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