#2D3A99#2D3A99

#2D3A99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.155 H 271.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2D3A99
RGBrgb(45, 58, 153)
HSLhsl(233, 55%, 39%)
HSVhsv(233, 71%, 60%)
CMYKcmyk(70.6%, 62.1%, 0%, 40%)
CIE-LABlab(29.12, 27.75, -53.54)
CIE-LCHlch(29.12, 60.30, 297.40°)
OKLaboklab(39.99% 0.0041 -0.1545)
OKLCHoklch(39.99% 0.155 271.5)
XYZxyz(8.3431, 5.8831, 30.8267)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A99 #998C2D
analogous
#2D7099 #2D3A99 #562D99
triadic
#2D3A99 #992D3A #3A992D
tetradic
#2D3A99 #992D70 #998C2D #2D9956
square
#2D3A99 #992D70 #998C2D #2D9956
split-complementary
#2D3A99 #99562D #70992D
monochromatic
#11163A #1F286A #2D3A99 #3D4EC6 #6C79D4

Accessibility & contrast

On white

9.65
#2D3A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D3A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A99
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A99#FFFFFF#000000##FFFFFF
##2D3A991.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3a99;
/* rgb */ color: rgb(45, 58, 153);
/* oklch */ color: oklch(40.0% 0.155 271.5);
Tailwind
colors: {
  custom: {
    50: '#7570b8',
    500: '#2d3a99',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a99;
$custom-light: #7570b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a99",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 232.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.15451,
    "h": 271.5
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#2D3A99
secondary
#BBB167
accent
#CC4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3A99

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

Preview Lab → · Contrast checker → · Palette generator →

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