#2E539F#2E539F

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

Color values

HEX#2E539F
RGBrgb(46, 83, 159)
HSLhsl(220, 55%, 40%)
HSVhsv(220, 71%, 62%)
CMYKcmyk(71.1%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.50, 13.44, -45.21)
CIE-LCHlch(36.50, 47.17, 286.56°)
OKLaboklab(45.71% -0.0164 -0.1296)
OKLCHoklch(45.71% 0.131 262.8)
XYZxyz(10.4758, 9.2695, 34.0313)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E539F #9F7A2E
analogous
#2E8B9F #2E539F #412E9F
triadic
#2E539F #9F2E53 #539F2E
tetradic
#2E539F #9F2E8B #9F7A2E #2E9F41
square
#2E539F #9F2E8B #9F7A2E #2E9F41
split-complementary
#2E539F #9F412E #8B9F2E
monochromatic
#132140 #203A70 #2E539F #426EC8 #7192D6

Accessibility & contrast

On white

7.36
#2E539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E539F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E539F#FFFFFF#000000##FFFFFF
##2E539F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e539f;
/* rgb */ color: rgb(46, 83, 159);
/* oklch */ color: oklch(45.7% 0.131 262.8);
Tailwind
colors: {
  custom: {
    50: '#7582bc',
    500: '#2e539f',
    950: '#000000',
  },
}
SCSS
$custom: #2e539f;
$custom-light: #7582bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e539f",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 220.354,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.13061,
    "h": 262.8
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#2E539F
secondary
#BEA36B
accent
#AE49DE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E539F

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

Preview Lab → · Contrast checker → · Palette generator →

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