#2D519B#2D519B

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

Color values

HEX#2D519B
RGBrgb(45, 81, 155)
HSLhsl(220, 55%, 39%)
HSVhsv(220, 71%, 61%)
CMYKcmyk(71%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.61, 13.09, -44.23)
CIE-LCHlch(35.61, 46.13, 286.49°)
OKLaboklab(44.93% -0.016 -0.1267)
OKLCHoklch(44.93% 0.128 262.8)
XYZxyz(9.9389, 8.8083, 32.1804)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D519B #9B772D
analogous
#2D889B #2D519B #402D9B
triadic
#2D519B #9B2D51 #519B2D
tetradic
#2D519B #9B2D88 #9B772D #2D9B40
square
#2D519B #9B2D88 #9B772D #2D9B40
split-complementary
#2D519B #9B402D #889B2D
monochromatic
#111F3C #1F386C #2D519B #3E6BC7 #6E8FD5

Accessibility & contrast

On white

7.60
#2D519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D519B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D519B#FFFFFF#000000##FFFFFF
##2D519B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d519b;
/* rgb */ color: rgb(45, 81, 155);
/* oklch */ color: oklch(44.9% 0.128 262.8);
Tailwind
colors: {
  custom: {
    50: '#7481b9',
    500: '#2d519b',
    950: '#000000',
  },
}
SCSS
$custom: #2d519b;
$custom-light: #7481b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d519b",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 220.364,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.12775,
    "h": 262.8
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#2D519B
secondary
#BCA068
accent
#AE49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D519B

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

Preview Lab → · Contrast checker → · Palette generator →

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