#2D3299#2D3299

#2D3299 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.164 H 273.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2D3299
RGBrgb(45, 50, 153)
HSLhsl(237, 55%, 39%)
HSVhsv(237, 71%, 60%)
CMYKcmyk(70.6%, 67.3%, 0%, 40%)
CIE-LABlab(27.12, 32.97, -56.80)
CIE-LCHlch(27.12, 65.67, 300.14°)
OKLaboklab(38.53% 0.0101 -0.1641)
OKLCHoklch(38.53% 0.164 273.5)
XYZxyz(7.9706, 5.1382, 30.7025)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3299 #99942D
analogous
#2D6899 #2D3299 #5E2D99
triadic
#2D3299 #992D32 #32992D
tetradic
#2D3299 #992D68 #99942D #2D995E
square
#2D3299 #992D68 #99942D #2D995E
split-complementary
#2D3299 #995E2D #68992D
monochromatic
#11133A #1F236A #2D3299 #3D44C6 #6C71D4

Accessibility & contrast

On white

10.36
#2D3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3299
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3299#FFFFFF#000000##FFFFFF
##2D32991.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3299;
/* rgb */ color: rgb(45, 50, 153);
/* oklch */ color: oklch(38.5% 0.164 273.5);
Tailwind
colors: {
  custom: {
    50: '#756ab8',
    500: '#2d3299',
    950: '#000000',
  },
}
SCSS
$custom: #2d3299;
$custom-light: #756ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3299",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 237.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38528,
    "c": 0.16437,
    "h": 273.5
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#2D3299
secondary
#BBB767
accent
#D74ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D3299

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

Preview Lab → · Contrast checker → · Palette generator →

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