#2B519E#2B519E

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

Color values

HEX#2B519E
RGBrgb(43, 81, 158)
HSLhsl(220, 57%, 39%)
HSVhsv(220, 73%, 62%)
CMYKcmyk(72.8%, 48.7%, 0%, 38%)
CIE-LABlab(35.73, 13.94, -45.86)
CIE-LCHlch(35.73, 47.93, 286.90°)
OKLaboklab(45.06% -0.0172 -0.1316)
OKLCHoklch(45.06% 0.133 262.6)
XYZxyz(10.1080, 8.8660, 33.5197)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B519E #9E782B
analogous
#2B8B9E #2B519E #3F2B9E
triadic
#2B519E #9E2B51 #519E2B
tetradic
#2B519E #9E2B8B #9E782B #2B9E3F
square
#2B519E #9E2B8B #9E782B #2B9E3F
split-complementary
#2B519E #9E3F2B #8B9E2B
monochromatic
#11203E #1E386E #2B519E #3C6BCA #6C90D7

Accessibility & contrast

On white

7.57
#2B519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B519E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B519E#FFFFFF#000000##FFFFFF
##2B519E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b519e;
/* rgb */ color: rgb(43, 81, 158);
/* oklch */ color: oklch(45.1% 0.133 262.6);
Tailwind
colors: {
  custom: {
    50: '#7481bb',
    500: '#2b519e',
    950: '#000000',
  },
}
SCSS
$custom: #2b519e;
$custom-light: #7481bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b519e",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 220.174,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.13269,
    "h": 262.6
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#2B519E
secondary
#BEA167
accent
#AE47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B519E

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

Preview Lab → · Contrast checker → · Palette generator →

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