#2D3499#2D3499

#2D3499 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.162 H 273.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2D3499
RGBrgb(45, 52, 153)
HSLhsl(236, 55%, 39%)
HSVhsv(236, 71%, 60%)
CMYKcmyk(70.6%, 66%, 0%, 40%)
CIE-LABlab(27.61, 31.68, -56.00)
CIE-LCHlch(27.61, 64.35, 299.50°)
OKLaboklab(38.88% 0.0086 -0.1617)
OKLCHoklch(38.88% 0.162 273.1)
XYZxyz(8.0580, 5.3130, 30.7317)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3499 #99922D
analogous
#2D6A99 #2D3499 #5C2D99
triadic
#2D3499 #992D34 #34992D
tetradic
#2D3499 #992D6A #99922D #2D995C
square
#2D3499 #992D6A #99922D #2D995C
split-complementary
#2D3499 #995C2D #6A992D
monochromatic
#11143A #1F246A #2D3499 #3D46C6 #6C73D4

Accessibility & contrast

On white

10.18
#2D3499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D3499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3499
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3499#FFFFFF#000000##FFFFFF
##2D34991.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3499;
/* rgb */ color: rgb(45, 52, 153);
/* oklch */ color: oklch(38.9% 0.162 273.1);
Tailwind
colors: {
  custom: {
    50: '#756bb8',
    500: '#2d3499',
    950: '#000000',
  },
}
SCSS
$custom: #2d3499;
$custom-light: #756bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3499",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 236.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3888,
    "c": 0.16196,
    "h": 273.1
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#2D3499
secondary
#BBB567
accent
#D44ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2D3499

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

Preview Lab → · Contrast checker → · Palette generator →

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