#2E539D#2E539D

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

Color values

HEX#2E539D
RGBrgb(46, 83, 157)
HSLhsl(220, 55%, 40%)
HSVhsv(220, 71%, 62%)
CMYKcmyk(70.7%, 47.1%, 0%, 38.4%)
CIE-LABlab(36.37, 12.68, -44.22)
CIE-LCHlch(36.37, 46.01, 286.01°)
OKLaboklab(45.57% -0.0167 -0.1267)
OKLCHoklch(45.57% 0.128 262.5)
XYZxyz(10.3036, 9.2006, 33.1246)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E539D #9D782E
analogous
#2E8B9D #2E539D #402E9D
triadic
#2E539D #9D2E53 #539D2E
tetradic
#2E539D #9D2E8B #9D782E #2E9D40
square
#2E539D #9D2E8B #9D782E #2E9D40
split-complementary
#2E539D #9D402E #8B9D2E
monochromatic
#12213E #203A6E #2E539D #416EC7 #7092D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E539D#FFFFFF#000000##FFFFFF
##2E539D1.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)
#2D5BA0
Deuteranopia (green-blind)
#15519B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e539d;
/* rgb */ color: rgb(46, 83, 157);
/* oklch */ color: oklch(45.6% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2e539d',
    950: '#000000',
  },
}
SCSS
$custom: #2e539d;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e539d",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 220,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.12775,
    "h": 262.5
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#2E539D
secondary
#BDA16A
accent
#AD4ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E539D

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

Preview Lab → · Contrast checker → · Palette generator →

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