#2E539A#2E539A

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

Color values

HEX#2E539A
RGBrgb(46, 83, 154)
HSLhsl(219, 54%, 39%)
HSVhsv(219, 70%, 60%)
CMYKcmyk(70.1%, 46.1%, 0%, 39.6%)
CIE-LABlab(36.17, 11.55, -42.73)
CIE-LCHlch(36.17, 44.26, 285.12°)
OKLaboklab(45.36% -0.0172 -0.1223)
OKLCHoklch(45.36% 0.123 262)
XYZxyz(10.0506, 9.0994, 31.7923)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E539A #9A752E
analogous
#2E899A #2E539A #3F2E9A
triadic
#2E539A #9A2E53 #539A2E
tetradic
#2E539A #9A2E89 #9A752E #2E9A3F
square
#2E539A #9A2E89 #9A752E #2E9A3F
split-complementary
#2E539A #9A3F2E #899A2E
monochromatic
#12203C #203A6B #2E539A #3F6DC6 #6F91D4

Accessibility & contrast

On white

7.45
#2E539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E539A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E539A#FFFFFF#000000##FFFFFF
##2E539A1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9D
Deuteranopia (green-blind)
#1B5099
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e539a;
/* rgb */ color: rgb(46, 83, 154);
/* oklch */ color: oklch(45.4% 0.123 262.0);
Tailwind
colors: {
  custom: {
    50: '#7482b8',
    500: '#2e539a',
    950: '#000000',
  },
}
SCSS
$custom: #2e539a;
$custom-light: #7482b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e539a",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 219.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.12347,
    "h": 262
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#2E539A
secondary
#BB9F69
accent
#AB4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E539A

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

Preview Lab → · Contrast checker → · Palette generator →

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