#2D3D99#2D3D99

#2D3D99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.151 H 270.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2D3D99
RGBrgb(45, 61, 153)
HSLhsl(231, 55%, 39%)
HSVhsv(231, 71%, 60%)
CMYKcmyk(70.6%, 60.1%, 0%, 40%)
CIE-LABlab(29.90, 25.75, -52.27)
CIE-LCHlch(29.90, 58.26, 296.23°)
OKLaboklab(40.57% 0.0016 -0.1507)
OKLCHoklch(40.57% 0.151 270.6)
XYZxyz(8.4987, 6.1945, 30.8786)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D99 #99892D
analogous
#2D7399 #2D3D99 #532D99
triadic
#2D3D99 #992D3D #3D992D
tetradic
#2D3D99 #992D73 #99892D #2D9953
square
#2D3D99 #992D73 #99892D #2D9953
split-complementary
#2D3D99 #99532D #73992D
monochromatic
#11173A #1F2A6A #2D3D99 #3D51C6 #6C7CD4

Accessibility & contrast

On white

9.38
#2D3D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D3D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D99
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D99#FFFFFF#000000##FFFFFF
##2D3D991.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3d99;
/* rgb */ color: rgb(45, 61, 153);
/* oklch */ color: oklch(40.6% 0.151 270.6);
Tailwind
colors: {
  custom: {
    50: '#7472b8',
    500: '#2d3d99',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d99;
$custom-light: #7472b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d99",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 231.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.15069,
    "h": 270.6
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#2D3D99
secondary
#BBAE67
accent
#C84ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3D99

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

Preview Lab → · Contrast checker → · Palette generator →

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