#2D379A#2D379A

#2D379A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.160 H 272.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2D379A
RGBrgb(45, 55, 154)
HSLhsl(234, 55%, 39%)
HSVhsv(234, 71%, 60%)
CMYKcmyk(70.8%, 64.3%, 0%, 39.6%)
CIE-LABlab(28.44, 30.09, -55.25)
CIE-LCHlch(28.44, 62.92, 298.57°)
OKLaboklab(39.52% 0.0064 -0.1595)
OKLCHoklch(39.52% 0.16 272.3)
XYZxyz(8.2791, 5.6226, 31.2145)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D379A #9A902D
analogous
#2D6E9A #2D379A #5A2D9A
triadic
#2D379A #9A2D37 #379A2D
tetradic
#2D379A #9A2D6E #9A902D #2D9A5A
square
#2D379A #9A2D6E #9A902D #2D9A5A
split-complementary
#2D379A #9A5A2D #6E9A2D
monochromatic
#11153B #1F266B #2D379A #3E4AC7 #6D77D4

Accessibility & contrast

On white

9.88
#2D379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D379A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D379A#FFFFFF#000000##FFFFFF
##2D379A1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d379a;
/* rgb */ color: rgb(45, 55, 154);
/* oklch */ color: oklch(39.5% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#756eb9',
    500: '#2d379a',
    950: '#000000',
  },
}
SCSS
$custom: #2d379a;
$custom-light: #756eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d379a",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 234.495,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.15965,
    "h": 272.3
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#2D379A
secondary
#BBB467
accent
#D04ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D379A

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

Preview Lab → · Contrast checker → · Palette generator →

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