#2B519C#2B519C

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

Color values

HEX#2B519C
RGBrgb(43, 81, 156)
HSLhsl(220, 57%, 39%)
HSVhsv(220, 72%, 61%)
CMYKcmyk(72.4%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.59, 13.17, -44.87)
CIE-LCHlch(35.59, 46.77, 286.36°)
OKLaboklab(44.92% -0.0175 -0.1287)
OKLCHoklch(44.92% 0.13 262.3)
XYZxyz(9.9373, 8.7977, 32.6205)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B519C #9C762B
analogous
#2B8A9C #2B519C #3E2B9C
triadic
#2B519C #9C2B51 #519C2B
tetradic
#2B519C #9C2B8A #9C762B #2B9C3E
square
#2B519C #9C2B8A #9C762B #2B9C3E
split-complementary
#2B519C #9C3E2B #8A9C2B
monochromatic
#111F3C #1E386C #2B519C #3B6BC9 #6B8FD6

Accessibility & contrast

On white

7.61
#2B519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B519C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B519C#FFFFFF#000000##FFFFFF
##2B519C1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b519c;
/* rgb */ color: rgb(43, 81, 156);
/* oklch */ color: oklch(44.9% 0.130 262.3);
Tailwind
colors: {
  custom: {
    50: '#7381ba',
    500: '#2b519c',
    950: '#000000',
  },
}
SCSS
$custom: #2b519c;
$custom-light: #7381ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b519c",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 219.823,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44915,
    "c": 0.12985,
    "h": 262.3
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#2B519C
secondary
#BDA066
accent
#AD48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B519C

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

Preview Lab → · Contrast checker → · Palette generator →

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