#2D349D#2D349D

#2D349D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.167 H 272.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2D349D
RGBrgb(45, 52, 157)
HSLhsl(236, 55%, 40%)
HSVhsv(236, 71%, 62%)
CMYKcmyk(71.3%, 66.9%, 0%, 38.4%)
CIE-LABlab(27.97, 33.12, -57.85)
CIE-LCHlch(27.97, 66.66, 299.79°)
OKLaboklab(39.26% 0.0083 -0.1671)
OKLCHoklch(39.26% 0.167 272.8)
XYZxyz(8.3939, 5.4474, 32.5008)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D349D #9D962D
analogous
#2D6C9D #2D349D #5E2D9D
triadic
#2D349D #9D2D34 #349D2D
tetradic
#2D349D #9D2D6C #9D962D #2D9D5E
square
#2D349D #9D2D6C #9D962D #2D9D5E
split-complementary
#2D349D #9D5E2D #6C9D2D
monochromatic
#12143E #1F246D #2D349D #3F48C8 #6F75D6

Accessibility & contrast

On white

10.05
#2D349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D349D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D349D#FFFFFF#000000##FFFFFF
##2D349D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.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: #2d349d;
/* rgb */ color: rgb(45, 52, 157);
/* oklch */ color: oklch(39.3% 0.167 272.8);
Tailwind
colors: {
  custom: {
    50: '#766cbb',
    500: '#2d349d',
    950: '#000000',
  },
}
SCSS
$custom: #2d349d;
$custom-light: #766cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d349d",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 236.25,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.16734,
    "h": 272.8
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D349D

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

Preview Lab → · Contrast checker → · Palette generator →

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