#2C34AF#2C34AF

#2C34AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.191 H 271.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2C34AF
RGBrgb(44, 52, 175)
HSLhsl(236, 60%, 43%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(74.9%, 70.3%, 0%, 31.4%)
CIE-LABlab(29.63, 39.39, -65.99)
CIE-LCHlch(29.63, 76.85, 300.83°)
OKLaboklab(40.96% 0.0053 -0.1909)
OKLCHoklch(40.96% 0.191 271.6)
XYZxyz(10.0019, 6.0855, 41.1966)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34AF #AFA72C
analogous
#2C75AF #2C34AF #652CAF
triadic
#2C34AF #AF2C34 #34AF2C
tetradic
#2C34AF #AF2C75 #AFA72C #2CAF65
square
#2C34AF #AF2C75 #AFA72C #2CAF65
split-complementary
#2C34AF #AF652C #75AF2C
monochromatic
#13174D #20257E #2C34AF #4750D1 #787EDD

Accessibility & contrast

On white

9.47
#2C34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C34AF
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34AF#FFFFFF#000000##FFFFFF
##2C34AF1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c34af;
/* rgb */ color: rgb(44, 52, 175);
/* oklch */ color: oklch(41.0% 0.191 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a6cc8',
    500: '#2c34af',
    950: '#000000',
  },
}
SCSS
$custom: #2c34af;
$custom-light: #7a6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34af",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 236.336,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40961,
    "c": 0.19101,
    "h": 271.6
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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