#2D3699#2D3699

#2D3699 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.160 H 272.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2D3699
RGBrgb(45, 54, 153)
HSLhsl(235, 55%, 39%)
HSVhsv(235, 71%, 60%)
CMYKcmyk(70.6%, 64.7%, 0%, 40%)
CIE-LABlab(28.10, 30.38, -55.20)
CIE-LCHlch(28.10, 63.01, 298.83°)
OKLaboklab(39.24% 0.0072 -0.1593)
OKLCHoklch(39.24% 0.16 272.6)
XYZxyz(8.1492, 5.4953, 30.7621)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3699 #99902D
analogous
#2D6C99 #2D3699 #5A2D99
triadic
#2D3699 #992D36 #36992D
tetradic
#2D3699 #992D6C #99902D #2D995A
square
#2D3699 #992D6C #99902D #2D995A
split-complementary
#2D3699 #995A2D #6C992D
monochromatic
#11153A #1F256A #2D3699 #3D49C6 #6C75D4

Accessibility & contrast

On white

10.00
#2D3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3699
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3699#FFFFFF#000000##FFFFFF
##2D36991.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3699;
/* rgb */ color: rgb(45, 54, 153);
/* oklch */ color: oklch(39.2% 0.160 272.6);
Tailwind
colors: {
  custom: {
    50: '#756db8',
    500: '#2d3699',
    950: '#000000',
  },
}
SCSS
$custom: #2d3699;
$custom-light: #756db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3699",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 235,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.15951,
    "h": 272.6
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#2D3699
secondary
#BBB467
accent
#D24ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3699

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

Preview Lab → · Contrast checker → · Palette generator →

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