#2C34AE#2C34AE

#2C34AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.190 H 271.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2C34AE
RGBrgb(44, 52, 174)
HSLhsl(236, 60%, 43%)
HSVhsv(236, 75%, 68%)
CMYKcmyk(74.7%, 70.1%, 0%, 31.8%)
CIE-LABlab(29.53, 39.04, -65.55)
CIE-LCHlch(29.53, 76.29, 300.78°)
OKLaboklab(40.86% 0.0054 -0.1897)
OKLCHoklch(40.86% 0.19 271.6)
XYZxyz(9.9041, 6.0464, 40.6813)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34AE #AEA62C
analogous
#2C75AE #2C34AE #652CAE
triadic
#2C34AE #AE2C34 #34AE2C
tetradic
#2C34AE #AE2C75 #AEA62C #2CAE65
square
#2C34AE #AE2C75 #AEA62C #2CAE65
split-complementary
#2C34AE #AE652C #75AE2C
monochromatic
#13174C #20257D #2C34AE #474FD0 #787EDD

Accessibility & contrast

On white

9.50
#2C34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C34AE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34AE#FFFFFF#000000##FFFFFF
##2C34AE1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c34ae;
/* rgb */ color: rgb(44, 52, 174);
/* oklch */ color: oklch(40.9% 0.190 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a6cc7',
    500: '#2c34ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c34ae;
$custom-light: #7a6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34ae",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 236.308,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.18975,
    "h": 271.6
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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