#2C34DC#2C34DC

#2C34DC is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.245 H 269.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2C34DC
RGBrgb(44, 52, 220)
HSLhsl(237, 72%, 52%)
HSVhsv(237, 80%, 86%)
CMYKcmyk(80%, 76.4%, 0%, 13.7%)
CIE-LABlab(34.31, 54.44, -84.61)
CIE-LCHlch(34.31, 100.61, 302.76°)
OKLaboklab(45.68% -0.0015 -0.2451)
OKLCHoklch(45.68% 0.245 269.7)
XYZxyz(15.1806, 8.1570, 68.4706)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34DC #DCD42C
analogous
#2C8CDC #2C34DC #7C2CDC
triadic
#2C34DC #DC2C34 #34DC2C
tetradic
#2C34DC #DC2C8C #DCD42C #2CDC7C
square
#2C34DC #DC2C8C #DCD42C #2CDC7C
split-complementary
#2C34DC #DC7C2C #8CDC2C
monochromatic
#141979 #1D23AE #2C34DC #6067E5 #9599ED

Accessibility & contrast

On white

7.98
#2C34DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C34DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C34DC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34DC#FFFFFF#000000##FFFFFF
##2C34DC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E1
Deuteranopia (green-blind)
#0048D9
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c34dc;
/* rgb */ color: rgb(44, 52, 220);
/* oklch */ color: oklch(45.7% 0.245 269.7);
Tailwind
colors: {
  custom: {
    50: '#856ee8',
    500: '#2c34dc',
    950: '#000000',
  },
}
SCSS
$custom: #2c34dc;
$custom-light: #856ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34dc",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 220
  },
  "hsl": {
    "h": 237.273,
    "s": 71.545,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45682,
    "c": 0.24509,
    "h": 269.7
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#2C34DC
secondary
#D9D58B
accent
#E63AEE
background
#F9F6FE
surface
#F1ECFD
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2C34DC

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

Preview Lab → · Contrast checker → · Palette generator →

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