#2D399A#2D399A

#2D399A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.157 H 271.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2D399A
RGBrgb(45, 57, 154)
HSLhsl(233, 55%, 39%)
HSVhsv(233, 71%, 60%)
CMYKcmyk(70.8%, 63%, 0%, 39.6%)
CIE-LABlab(28.94, 28.78, -54.43)
CIE-LCHlch(28.94, 61.57, 297.87°)
OKLaboklab(39.89% 0.0048 -0.1571)
OKLCHoklch(39.89% 0.157 271.8)
XYZxyz(8.3761, 5.8164, 31.2468)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D399A #9A8E2D
analogous
#2D709A #2D399A #572D9A
triadic
#2D399A #9A2D39 #399A2D
tetradic
#2D399A #9A2D70 #9A8E2D #2D9A57
square
#2D399A #9A2D70 #9A8E2D #2D9A57
split-complementary
#2D399A #9A572D #709A2D
monochromatic
#11163B #1F276B #2D399A #3E4DC7 #6D78D4

Accessibility & contrast

On white

9.71
#2D399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D399A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D399A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D399A#FFFFFF#000000##FFFFFF
##2D399A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d399a;
/* rgb */ color: rgb(45, 57, 154);
/* oklch */ color: oklch(39.9% 0.157 271.8);
Tailwind
colors: {
  custom: {
    50: '#756fb9',
    500: '#2d399a',
    950: '#000000',
  },
}
SCSS
$custom: #2d399a;
$custom-light: #756fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d399a",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 233.394,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.15715,
    "h": 271.8
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#2D399A
secondary
#BBB267
accent
#CE4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D399A

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

Preview Lab → · Contrast checker → · Palette generator →

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