#2E539C#2E539C

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

Color values

HEX#2E539C
RGBrgb(46, 83, 156)
HSLhsl(220, 54%, 40%)
HSVhsv(220, 71%, 61%)
CMYKcmyk(70.5%, 46.8%, 0%, 38.8%)
CIE-LABlab(36.30, 12.31, -43.73)
CIE-LCHlch(36.30, 45.42, 285.72°)
OKLaboklab(45.5% -0.0169 -0.1252)
OKLCHoklch(45.5% 0.126 262.3)
XYZxyz(10.2186, 9.1666, 32.6768)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E539C #9C772E
analogous
#2E8A9C #2E539C #402E9C
triadic
#2E539C #9C2E53 #539C2E
tetradic
#2E539C #9C2E8A #9C772E #2E9C40
square
#2E539C #9C2E8A #9C772E #2E9C40
split-complementary
#2E539C #9C402E #8A9C2E
monochromatic
#12213D #203A6D #2E539C #406EC7 #7092D5

Accessibility & contrast

On white

7.41
#2E539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E539C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E539C#FFFFFF#000000##FFFFFF
##2E539C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.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: #2e539c;
/* rgb */ color: rgb(46, 83, 156);
/* oklch */ color: oklch(45.5% 0.126 262.3);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2e539c',
    950: '#000000',
  },
}
SCSS
$custom: #2e539c;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e539c",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 219.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45496,
    "c": 0.12633,
    "h": 262.3
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#2E539C
secondary
#BCA06A
accent
#AC4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E539C

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

Preview Lab → · Contrast checker → · Palette generator →

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