#2D349E#2D349E

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

Color values

HEX#2D349E
RGBrgb(45, 52, 158)
HSLhsl(236, 56%, 40%)
HSVhsv(236, 72%, 62%)
CMYKcmyk(71.5%, 67.1%, 0%, 38%)
CIE-LABlab(28.07, 33.48, -58.30)
CIE-LCHlch(28.07, 67.23, 299.87°)
OKLaboklab(39.35% 0.0082 -0.1685)
OKLCHoklch(39.35% 0.169 272.8)
XYZxyz(8.4797, 5.4817, 32.9523)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D349E #9E972D
analogous
#2D6D9E #2D349E #5E2D9E
triadic
#2D349E #9E2D34 #349E2D
tetradic
#2D349E #9E2D6D #9E972D #2D9E5E
square
#2D349E #9E2D6D #9E972D #2D9E5E
split-complementary
#2D349E #9E5E2D #6D9E2D
monochromatic
#12153F #1F246E #2D349E #4048C9 #6F76D6

Accessibility & contrast

On white

10.02
#2D349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D349E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D349E#FFFFFF#000000##FFFFFF
##2D349E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d349e;
/* rgb */ color: rgb(45, 52, 158);
/* oklch */ color: oklch(39.4% 0.169 272.8);
Tailwind
colors: {
  custom: {
    50: '#766cbc',
    500: '#2d349e',
    950: '#000000',
  },
}
SCSS
$custom: #2d349e;
$custom-light: #766cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d349e",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 236.283,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.16867,
    "h": 272.8
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D349E

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

Preview Lab → · Contrast checker → · Palette generator →

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