#2C34CA#2C34CA

#2C34CA is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.8% C 0.224 H 270.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2C34CA
RGBrgb(44, 52, 202)
HSLhsl(237, 64%, 48%)
HSVhsv(237, 78%, 79%)
CMYKcmyk(78.2%, 74.3%, 0%, 20.8%)
CIE-LABlab(32.38, 48.58, -77.38)
CIE-LCHlch(32.38, 91.37, 302.12°)
OKLaboklab(43.75% 0.0014 -0.2241)
OKLCHoklch(43.75% 0.224 270.4)
XYZxyz(12.9237, 7.2543, 56.5847)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34CA #CAC22C
analogous
#2C83CA #2C34CA #732CCA
triadic
#2C34CA #CA2C34 #34CA2C
tetradic
#2C34CA #CA2C83 #CAC22C #2CCA73
square
#2C34CA #CA2C83 #CAC22C #2CCA73
split-complementary
#2C34CA #CA732C #83CA2C
monochromatic
#161A65 #212798 #2C34CA #585FDB #8B8FE6

Accessibility & contrast

On white

8.57
#2C34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C34CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C34CA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34CA#FFFFFF#000000##FFFFFF
##2C34CA1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c34ca;
/* rgb */ color: rgb(44, 52, 202);
/* oklch */ color: oklch(43.8% 0.224 270.4);
Tailwind
colors: {
  custom: {
    50: '#816ddc',
    500: '#2c34ca',
    950: '#000000',
  },
}
SCSS
$custom: #2c34ca;
$custom-light: #816ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34ca",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 236.962,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.22412,
    "h": 270.4
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#2C34CA
secondary
#D0CC82
accent
#DF41E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2C34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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