#2D539A#2D539A

#2D539A is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.124 H 261.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2D539A
RGBrgb(45, 83, 154)
HSLhsl(219, 55%, 39%)
HSVhsv(219, 71%, 60%)
CMYKcmyk(70.8%, 46.1%, 0%, 39.6%)
CIE-LABlab(36.13, 11.39, -42.80)
CIE-LCHlch(36.13, 44.29, 284.90°)
OKLaboklab(45.31% -0.018 -0.1225)
OKLCHoklch(45.31% 0.124 261.6)
XYZxyz(10.0061, 9.0765, 31.7902)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D539A #9A742D
analogous
#2D8A9A #2D539A #3E2D9A
triadic
#2D539A #9A2D53 #539A2D
tetradic
#2D539A #9A2D8A #9A742D #2D9A3E
square
#2D539A #9A2D8A #9A742D #2D9A3E
split-complementary
#2D539A #9A3E2D #8A9A2D
monochromatic
#11203B #1F396B #2D539A #3E6DC7 #6D91D4

Accessibility & contrast

On white

7.46
#2D539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D539A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D539A#FFFFFF#000000##FFFFFF
##2D539A1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#1A5099
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d539a;
/* rgb */ color: rgb(45, 83, 154);
/* oklch */ color: oklch(45.3% 0.124 261.6);
Tailwind
colors: {
  custom: {
    50: '#7382b8',
    500: '#2d539a',
    950: '#000000',
  },
}
SCSS
$custom: #2d539a;
$custom-light: #7382b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d539a",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 219.083,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.12382,
    "h": 261.6
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#2D539A
secondary
#BB9E67
accent
#AA4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D539A

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

Preview Lab → · Contrast checker → · Palette generator →

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