#2C349D#2C349D

#2C349D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.168 H 272.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2C349D
RGBrgb(44, 52, 157)
HSLhsl(236, 56%, 39%)
HSVhsv(236, 72%, 62%)
CMYKcmyk(72%, 66.9%, 0%, 38.4%)
CIE-LABlab(27.91, 33.00, -57.95)
CIE-LCHlch(27.91, 66.68, 299.66°)
OKLaboklab(39.2% 0.0072 -0.1674)
OKLCHoklch(39.2% 0.168 272.5)
XYZxyz(8.3505, 5.4250, 32.4988)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C349D #9D952C
analogous
#2C6D9D #2C349D #5D2C9D
triadic
#2C349D #9D2C34 #349D2C
tetradic
#2C349D #9D2C6D #9D952C #2C9D5D
square
#2C349D #9D2C6D #9D952C #2C9D5D
split-complementary
#2C349D #9D5D2C #6D9D2C
monochromatic
#11143D #1F246D #2C349D #3D47C9 #6D75D6

Accessibility & contrast

On white

10.07
#2C349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C349D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C349D#FFFFFF#000000##FFFFFF
##2C349D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c349d;
/* rgb */ color: rgb(44, 52, 157);
/* oklch */ color: oklch(39.2% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#766cbb',
    500: '#2c349d',
    950: '#000000',
  },
}
SCSS
$custom: #2c349d;
$custom-light: #766cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c349d",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 235.752,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.1676,
    "h": 272.5
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#2C349D
secondary
#BDB768
accent
#D548E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C349D

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

Preview Lab → · Contrast checker → · Palette generator →

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