#2D539C#2D539C

#2D539C is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.127 H 262.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2D539C
RGBrgb(45, 83, 156)
HSLhsl(219, 55%, 39%)
HSVhsv(219, 71%, 61%)
CMYKcmyk(71.2%, 46.8%, 0%, 38.8%)
CIE-LABlab(36.26, 12.15, -43.80)
CIE-LCHlch(36.26, 45.45, 285.50°)
OKLaboklab(45.45% -0.0177 -0.1254)
OKLCHoklch(45.45% 0.127 262)
XYZxyz(10.1741, 9.1436, 32.6748)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D539C #9C762D
analogous
#2D8B9C #2D539C #3E2D9C
triadic
#2D539C #9C2D53 #539C2D
tetradic
#2D539C #9C2D8B #9C762D #2D9C3E
square
#2D539C #9C2D8B #9C762D #2D9C3E
split-complementary
#2D539C #9C3E2D #8B9C2D
monochromatic
#12203D #1F3A6D #2D539C #3F6EC8 #6E91D5

Accessibility & contrast

On white

7.42
#2D539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D539C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D539C#FFFFFF#000000##FFFFFF
##2D539C1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d539c;
/* rgb */ color: rgb(45, 83, 156);
/* oklch */ color: oklch(45.5% 0.127 262.0);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2d539c',
    950: '#000000',
  },
}
SCSS
$custom: #2d539c;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d539c",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 219.459,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.12667,
    "h": 262
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#2D539C
secondary
#BCA068
accent
#AB49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D539C

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

Preview Lab → · Contrast checker → · Palette generator →

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