#2B519F#2B519F

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

Color values

HEX#2B519F
RGBrgb(43, 81, 159)
HSLhsl(220, 57%, 40%)
HSVhsv(220, 73%, 62%)
CMYKcmyk(73%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.79, 14.32, -46.36)
CIE-LCHlch(35.79, 48.52, 287.17°)
OKLaboklab(45.13% -0.017 -0.133)
OKLCHoklch(45.13% 0.134 262.7)
XYZxyz(10.1945, 8.9006, 33.9749)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B519F #9F792B
analogous
#2B8B9F #2B519F #3F2B9F
triadic
#2B519F #9F2B51 #519F2B
tetradic
#2B519F #9F2B8B #9F792B #2B9F3F
square
#2B519F #9F2B8B #9F792B #2B9F3F
split-complementary
#2B519F #9F3F2B #8B9F2B
monochromatic
#11203F #1E386F #2B519F #3D6BCA #6D90D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B519F#FFFFFF#000000##FFFFFF
##2B519F1.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)
#265AA2
Deuteranopia (green-blind)
#024F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b519f;
/* rgb */ color: rgb(43, 81, 159);
/* oklch */ color: oklch(45.1% 0.134 262.7);
Tailwind
colors: {
  custom: {
    50: '#7481bc',
    500: '#2b519f',
    950: '#000000',
  },
}
SCSS
$custom: #2b519f;
$custom-light: #7481bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b519f",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 220.345,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.13411,
    "h": 262.7
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#2B519F
secondary
#BEA267
accent
#AE47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B519F

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

Preview Lab → · Contrast checker → · Palette generator →

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