#2C349E#2C349E

#2C349E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.169 H 272.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2C349E
RGBrgb(44, 52, 158)
HSLhsl(236, 56%, 40%)
HSVhsv(236, 72%, 62%)
CMYKcmyk(72.2%, 67.1%, 0%, 38%)
CIE-LABlab(28.00, 33.36, -58.40)
CIE-LCHlch(28.00, 67.26, 299.73°)
OKLaboklab(39.29% 0.0071 -0.1688)
OKLCHoklch(39.29% 0.169 272.4)
XYZxyz(8.4362, 5.4592, 32.9503)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C349E #9E962C
analogous
#2C6D9E #2C349E #5D2C9E
triadic
#2C349E #9E2C34 #349E2C
tetradic
#2C349E #9E2C6D #9E962C #2C9E5D
square
#2C349E #9E2C6D #9E962C #2C9E5D
split-complementary
#2C349E #9E5D2C #6D9E2C
monochromatic
#11143E #1F246E #2C349E #3E48C9 #6E75D7

Accessibility & contrast

On white

10.04
#2C349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C349E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C349E#FFFFFF#000000##FFFFFF
##2C349E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c349e;
/* rgb */ color: rgb(44, 52, 158);
/* oklch */ color: oklch(39.3% 0.169 272.4);
Tailwind
colors: {
  custom: {
    50: '#766cbc',
    500: '#2c349e',
    950: '#000000',
  },
}
SCSS
$custom: #2c349e;
$custom-light: #766cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c349e",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 235.789,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.16894,
    "h": 272.4
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C349E

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

Preview Lab → · Contrast checker → · Palette generator →

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