#2D349F#2D349F

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

Color values

HEX#2D349F
RGBrgb(45, 52, 159)
HSLhsl(236, 56%, 40%)
HSVhsv(236, 72%, 62%)
CMYKcmyk(71.7%, 67.3%, 0%, 37.6%)
CIE-LABlab(28.16, 33.84, -58.76)
CIE-LCHlch(28.16, 67.81, 299.94°)
OKLaboklab(39.45% 0.0081 -0.1698)
OKLCHoklch(39.45% 0.17 272.7)
XYZxyz(8.5661, 5.5162, 33.4075)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D349F #9F982D
analogous
#2D6D9F #2D349F #5F2D9F
triadic
#2D349F #9F2D34 #349F2D
tetradic
#2D349F #9F2D6D #9F982D #2D9F5F
square
#2D349F #9F2D6D #9F982D #2D9F5F
split-complementary
#2D349F #9F5F2D #6D9F2D
monochromatic
#121540 #20246F #2D349F #4049C9 #7076D6

Accessibility & contrast

On white

9.98
#2D349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D349F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D349F#FFFFFF#000000##FFFFFF
##2D349F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d349f;
/* rgb */ color: rgb(45, 52, 159);
/* oklch */ color: oklch(39.4% 0.170 272.7);
Tailwind
colors: {
  custom: {
    50: '#776cbc',
    500: '#2d349f',
    950: '#000000',
  },
}
SCSS
$custom: #2d349f;
$custom-light: #776cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d349f",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 236.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.16999,
    "h": 272.7
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#2D349F
secondary
#BEB96A
accent
#D649DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D349F

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

Preview Lab → · Contrast checker → · Palette generator →

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