#2D519E#2D519E

#2D519E is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.132 H 263.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2D519E
RGBrgb(45, 81, 158)
HSLhsl(221, 56%, 40%)
HSVhsv(221, 72%, 62%)
CMYKcmyk(71.5%, 48.7%, 0%, 38%)
CIE-LABlab(35.81, 14.24, -45.72)
CIE-LCHlch(35.81, 47.89, 287.30°)
OKLaboklab(45.15% -0.0155 -0.1311)
OKLCHoklch(45.15% 0.132 263.3)
XYZxyz(10.1940, 8.9103, 33.5237)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D519E #9E7A2D
analogous
#2D8A9E #2D519E #422D9E
triadic
#2D519E #9E2D51 #519E2D
tetradic
#2D519E #9E2D8A #9E7A2D #2D9E42
square
#2D519E #9E2D8A #9E7A2D #2D9E42
split-complementary
#2D519E #9E422D #8A9E2D
monochromatic
#12203F #1F396E #2D519E #406BC9 #6F90D6

Accessibility & contrast

On white

7.55
#2D519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2D519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D519E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D519E#FFFFFF#000000##FFFFFF
##2D519E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d519e;
/* rgb */ color: rgb(45, 81, 158);
/* oklch */ color: oklch(45.1% 0.132 263.3);
Tailwind
colors: {
  custom: {
    50: '#7481bb',
    500: '#2d519e',
    950: '#000000',
  },
}
SCSS
$custom: #2d519e;
$custom-light: #7481bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d519e",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 220.885,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.13203,
    "h": 263.3
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#2D519E
secondary
#BDA369
accent
#AF49DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D519E

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

Preview Lab → · Contrast checker → · Palette generator →

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