#2D519C#2D519C

#2D519C is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.129 H 263.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2D519C
RGBrgb(45, 81, 156)
HSLhsl(221, 55%, 39%)
HSVhsv(221, 71%, 61%)
CMYKcmyk(71.2%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.68, 13.47, -44.73)
CIE-LCHlch(35.68, 46.72, 286.76°)
OKLaboklab(45.01% -0.0158 -0.1282)
OKLCHoklch(45.01% 0.129 263)
XYZxyz(10.0232, 8.8420, 32.6245)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D519C #9C782D
analogous
#2D899C #2D519C #412D9C
triadic
#2D519C #9C2D51 #519C2D
tetradic
#2D519C #9C2D89 #9C782D #2D9C41
square
#2D519C #9C2D89 #9C782D #2D9C41
split-complementary
#2D519C #9C412D #899C2D
monochromatic
#12203D #1F386D #2D519C #3F6BC8 #6E90D5

Accessibility & contrast

On white

7.59
#2D519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D519C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D519C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D519C#FFFFFF#000000##FFFFFF
##2D519C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#0F4F9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d519c;
/* rgb */ color: rgb(45, 81, 156);
/* oklch */ color: oklch(45.0% 0.129 263.0);
Tailwind
colors: {
  custom: {
    50: '#7481ba',
    500: '#2d519c',
    950: '#000000',
  },
}
SCSS
$custom: #2d519c;
$custom-light: #7481ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d519c",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 220.541,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.12918,
    "h": 263
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#2D519C
secondary
#BCA168
accent
#AE49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D519C

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

Preview Lab → · Contrast checker → · Palette generator →

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