#2D539B#2D539B

#2D539B is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.125 H 261.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2D539B
RGBrgb(45, 83, 155)
HSLhsl(219, 55%, 39%)
HSVhsv(219, 71%, 61%)
CMYKcmyk(71%, 46.5%, 0%, 39.2%)
CIE-LABlab(36.20, 11.77, -43.30)
CIE-LCHlch(36.20, 44.87, 285.20°)
OKLaboklab(45.38% -0.0179 -0.124)
OKLCHoklch(45.38% 0.125 261.8)
XYZxyz(10.0897, 9.1099, 32.2306)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D539B #9B752D
analogous
#2D8A9B #2D539B #3E2D9B
triadic
#2D539B #9B2D53 #539B2D
tetradic
#2D539B #9B2D8A #9B752D #2D9B3E
square
#2D539B #9B2D8A #9B752D #2D9B3E
split-complementary
#2D539B #9B3E2D #8A9B2D
monochromatic
#11203C #1F3A6C #2D539B #3E6DC7 #6E91D5

Accessibility & contrast

On white

7.44
#2D539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2D539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D539B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D539B#FFFFFF#000000##FFFFFF
##2D539B1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#18509A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d539b;
/* rgb */ color: rgb(45, 83, 155);
/* oklch */ color: oklch(45.4% 0.125 261.8);
Tailwind
colors: {
  custom: {
    50: '#7482b9',
    500: '#2d539b',
    950: '#000000',
  },
}
SCSS
$custom: #2d539b;
$custom-light: #7482b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d539b",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 219.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.12524,
    "h": 261.8
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#2D539B
secondary
#BC9F68
accent
#AB49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D539B

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

Preview Lab → · Contrast checker → · Palette generator →

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