#2D539E#2D539E

#2D539E is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.130 H 262.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2D539E
RGBrgb(45, 83, 158)
HSLhsl(220, 56%, 40%)
HSVhsv(220, 72%, 62%)
CMYKcmyk(71.5%, 47.5%, 0%, 38%)
CIE-LABlab(36.39, 12.91, -44.79)
CIE-LCHlch(36.39, 46.61, 286.08°)
OKLaboklab(45.59% -0.0174 -0.1283)
OKLCHoklch(45.59% 0.13 262.3)
XYZxyz(10.3448, 9.2119, 33.5740)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D539E #9E782D
analogous
#2D8C9E #2D539E #402D9E
triadic
#2D539E #9E2D53 #539E2D
tetradic
#2D539E #9E2D8C #9E782D #2D9E40
square
#2D539E #9E2D8C #9E782D #2D9E40
split-complementary
#2D539E #9E402D #8C9E2D
monochromatic
#12213F #1F3A6E #2D539E #406EC9 #6F92D6

Accessibility & contrast

On white

7.39
#2D539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D539E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D539E#FFFFFF#000000##FFFFFF
##2D539E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#12519C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d539e;
/* rgb */ color: rgb(45, 83, 158);
/* oklch */ color: oklch(45.6% 0.130 262.3);
Tailwind
colors: {
  custom: {
    50: '#7482bb',
    500: '#2d539e',
    950: '#000000',
  },
}
SCSS
$custom: #2d539e;
$custom-light: #7482bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d539e",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 219.823,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.12952,
    "h": 262.3
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#2D539E
secondary
#BDA169
accent
#AC49DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D539E

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

Preview Lab → · Contrast checker → · Palette generator →

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