#2D539F#2D539F

#2D539F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.131 H 262.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2D539F
RGBrgb(45, 83, 159)
HSLhsl(220, 56%, 40%)
HSVhsv(220, 72%, 62%)
CMYKcmyk(71.7%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.45, 13.29, -45.29)
CIE-LCHlch(36.45, 47.20, 286.36°)
OKLaboklab(45.66% -0.0172 -0.1298)
OKLCHoklch(45.66% 0.131 262.5)
XYZxyz(10.4312, 9.2465, 34.0292)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D539F #9F792D
analogous
#2D8C9F #2D539F #402D9F
triadic
#2D539F #9F2D53 #539F2D
tetradic
#2D539F #9F2D8C #9F792D #2D9F40
square
#2D539F #9F2D8C #9F792D #2D9F40
split-complementary
#2D539F #9F402D #8C9F2D
monochromatic
#122140 #203A6F #2D539F #406EC9 #7092D6

Accessibility & contrast

On white

7.37
#2D539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D539F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D539F#FFFFFF#000000##FFFFFF
##2D539F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#10519D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d539f;
/* rgb */ color: rgb(45, 83, 159);
/* oklch */ color: oklch(45.7% 0.131 262.5);
Tailwind
colors: {
  custom: {
    50: '#7482bc',
    500: '#2d539f',
    950: '#000000',
  },
}
SCSS
$custom: #2d539f;
$custom-light: #7482bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d539f",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 220,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.13094,
    "h": 262.5
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#2D539F
secondary
#BEA26A
accent
#AD49DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D539F

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

Preview Lab → · Contrast checker → · Palette generator →

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