#2D519F#2D519F

#2D519F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.133 H 263.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2D519F
RGBrgb(45, 81, 159)
HSLhsl(221, 56%, 40%)
HSVhsv(221, 72%, 62%)
CMYKcmyk(71.7%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.88, 14.62, -46.21)
CIE-LCHlch(35.88, 48.47, 287.55°)
OKLaboklab(45.22% -0.0153 -0.1326)
OKLCHoklch(45.22% 0.133 263.4)
XYZxyz(10.2804, 8.9449, 33.9789)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D519F #9F7B2D
analogous
#2D8A9F #2D519F #422D9F
triadic
#2D519F #9F2D51 #519F2D
tetradic
#2D519F #9F2D8A #9F7B2D #2D9F42
square
#2D519F #9F2D8A #9F7B2D #2D9F42
split-complementary
#2D519F #9F422D #8A9F2D
monochromatic
#122040 #20396F #2D519F #406BC9 #7090D6

Accessibility & contrast

On white

7.53
#2D519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D519F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D519F#FFFFFF#000000##FFFFFF
##2D519F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#054F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d519f;
/* rgb */ color: rgb(45, 81, 159);
/* oklch */ color: oklch(45.2% 0.133 263.4);
Tailwind
colors: {
  custom: {
    50: '#7581bc',
    500: '#2d519f',
    950: '#000000',
  },
}
SCSS
$custom: #2d519f;
$custom-light: #7581bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d519f",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 221.053,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.13346,
    "h": 263.4
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#2D519F
secondary
#BEA36A
accent
#B049DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D519F

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

Preview Lab → · Contrast checker → · Palette generator →

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