#2D519A#2D519A

#2D519A is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.126 H 262.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2D519A
RGBrgb(45, 81, 154)
HSLhsl(220, 55%, 39%)
HSVhsv(220, 71%, 60%)
CMYKcmyk(70.8%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.55, 12.71, -43.74)
CIE-LCHlch(35.55, 45.55, 286.21°)
OKLaboklab(44.86% -0.0161 -0.1253)
OKLCHoklch(44.86% 0.126 262.7)
XYZxyz(9.8553, 8.7748, 31.7399)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D519A #9A762D
analogous
#2D889A #2D519A #3F2D9A
triadic
#2D519A #9A2D51 #519A2D
tetradic
#2D519A #9A2D88 #9A762D #2D9A3F
square
#2D519A #9A2D88 #9A762D #2D9A3F
split-complementary
#2D519A #9A3F2D #889A2D
monochromatic
#111F3B #1F386B #2D519A #3E6BC7 #6D8FD4

Accessibility & contrast

On white

7.62
#2D519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D519A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D519A#FFFFFF#000000##FFFFFF
##2D519A1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#144F99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d519a;
/* rgb */ color: rgb(45, 81, 154);
/* oklch */ color: oklch(44.9% 0.126 262.7);
Tailwind
colors: {
  custom: {
    50: '#7381b8',
    500: '#2d519a',
    950: '#000000',
  },
}
SCSS
$custom: #2d519a;
$custom-light: #7381b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d519a",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 220.183,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.12631,
    "h": 262.7
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#2D519A
secondary
#BBA067
accent
#AD4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D519A

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

Preview Lab → · Contrast checker → · Palette generator →

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