#2D3F99#2D3F99

#2D3F99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.148 H 270.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2D3F99
RGBrgb(45, 63, 153)
HSLhsl(230, 55%, 39%)
HSVhsv(230, 71%, 60%)
CMYKcmyk(70.6%, 58.8%, 0%, 40%)
CIE-LABlab(30.43, 24.41, -51.40)
CIE-LCHlch(30.43, 56.90, 295.40°)
OKLaboklab(40.96% 0 -0.1481)
OKLCHoklch(40.96% 0.148 270)
XYZxyz(8.6075, 6.4120, 30.9148)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F99 #99872D
analogous
#2D7599 #2D3F99 #512D99
triadic
#2D3F99 #992D3F #3F992D
tetradic
#2D3F99 #992D75 #99872D #2D9951
square
#2D3F99 #992D75 #99872D #2D9951
split-complementary
#2D3F99 #99512D #75992D
monochromatic
#11183A #1F2C6A #2D3F99 #3D54C6 #6C7ED4

Accessibility & contrast

On white

9.20
#2D3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D3F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F99
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F99#FFFFFF#000000##FFFFFF
##2D3F991.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d3f99;
/* rgb */ color: rgb(45, 63, 153);
/* oklch */ color: oklch(41.0% 0.148 270.0);
Tailwind
colors: {
  custom: {
    50: '#7473b8',
    500: '#2d3f99',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f99;
$custom-light: #7473b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f99",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 230,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.14812,
    "h": 270
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#2D3F99
secondary
#BBAD67
accent
#C54ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3F99

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

Preview Lab → · Contrast checker → · Palette generator →

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