#2D389A#2D389A

#2D389A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.158 H 272.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2D389A
RGBrgb(45, 56, 154)
HSLhsl(234, 55%, 39%)
HSVhsv(234, 71%, 60%)
CMYKcmyk(70.8%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.69, 29.44, -54.84)
CIE-LCHlch(28.69, 62.24, 298.22°)
OKLaboklab(39.7% 0.0056 -0.1583)
OKLCHoklch(39.7% 0.158 272)
XYZxyz(8.3271, 5.7185, 31.2305)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D389A #9A8F2D
analogous
#2D6F9A #2D389A #592D9A
triadic
#2D389A #9A2D38 #389A2D
tetradic
#2D389A #9A2D6F #9A8F2D #2D9A59
square
#2D389A #9A2D6F #9A8F2D #2D9A59
split-complementary
#2D389A #9A592D #6F9A2D
monochromatic
#11163B #1F276B #2D389A #3E4BC7 #6D77D4

Accessibility & contrast

On white

9.80
#2D389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D389A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D389A#FFFFFF#000000##FFFFFF
##2D389A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d389a;
/* rgb */ color: rgb(45, 56, 154);
/* oklch */ color: oklch(39.7% 0.158 272.0);
Tailwind
colors: {
  custom: {
    50: '#756eb9',
    500: '#2d389a',
    950: '#000000',
  },
}
SCSS
$custom: #2d389a;
$custom-light: #756eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d389a",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 233.945,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.1584,
    "h": 272
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#2D389A
secondary
#BBB367
accent
#CF4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D389A

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

Preview Lab → · Contrast checker → · Palette generator →

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