#2D539D#2D539D

#2D539D is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.128 H 262.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2D539D
RGBrgb(45, 83, 157)
HSLhsl(220, 55%, 40%)
HSVhsv(220, 71%, 62%)
CMYKcmyk(71.3%, 47.1%, 0%, 38.4%)
CIE-LABlab(36.32, 12.53, -44.29)
CIE-LCHlch(36.32, 46.03, 285.79°)
OKLaboklab(45.52% -0.0175 -0.1269)
OKLCHoklch(45.52% 0.128 262.1)
XYZxyz(10.2591, 9.1777, 33.1225)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D539D #9D772D
analogous
#2D8B9D #2D539D #3F2D9D
triadic
#2D539D #9D2D53 #539D2D
tetradic
#2D539D #9D2D8B #9D772D #2D9D3F
square
#2D539D #9D2D8B #9D772D #2D9D3F
split-complementary
#2D539D #9D3F2D #8B9D2D
monochromatic
#12213E #1F3A6D #2D539D #3F6EC8 #6F92D6

Accessibility & contrast

On white

7.41
#2D539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2D539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D539D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D539D#FFFFFF#000000##FFFFFF
##2D539D1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#14519B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d539d;
/* rgb */ color: rgb(45, 83, 157);
/* oklch */ color: oklch(45.5% 0.128 262.1);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2d539d',
    950: '#000000',
  },
}
SCSS
$custom: #2d539d;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d539d",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 219.643,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.1281,
    "h": 262.1
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#2D539D
secondary
#BDA069
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D539D

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

Preview Lab → · Contrast checker → · Palette generator →

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