#2D349C#2D349C

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

Color values

HEX#2D349C
RGBrgb(45, 52, 156)
HSLhsl(236, 55%, 39%)
HSVhsv(236, 71%, 61%)
CMYKcmyk(71.2%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.88, 32.76, -57.39)
CIE-LCHlch(27.88, 66.08, 299.72°)
OKLaboklab(39.16% 0.0084 -0.1658)
OKLCHoklch(39.16% 0.166 272.9)
XYZxyz(8.3089, 5.4134, 32.0530)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D349C #9C952D
analogous
#2D6C9C #2D349C #5E2D9C
triadic
#2D349C #9C2D34 #349C2D
tetradic
#2D349C #9C2D6C #9C952D #2D9C5E
square
#2D349C #9C2D6C #9C952D #2D9C5E
split-complementary
#2D349C #9C5E2D #6C9C2D
monochromatic
#12143D #1F246D #2D349C #3F47C8 #6E75D5

Accessibility & contrast

On white

10.08
#2D349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D349C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D349C#FFFFFF#000000##FFFFFF
##2D349C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d349c;
/* rgb */ color: rgb(45, 52, 156);
/* oklch */ color: oklch(39.2% 0.166 272.9);
Tailwind
colors: {
  custom: {
    50: '#766cba',
    500: '#2d349c',
    950: '#000000',
  },
}
SCSS
$custom: #2d349c;
$custom-light: #766cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d349c",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 236.216,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.16599,
    "h": 272.9
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#2D349C
secondary
#BCB768
accent
#D549DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D349C

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

Preview Lab → · Contrast checker → · Palette generator →

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