#2E509B#2E509B

#2E509B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.129 H 263.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2E509B
RGBrgb(46, 80, 155)
HSLhsl(221, 54%, 39%)
HSVhsv(221, 70%, 61%)
CMYKcmyk(70.3%, 48.4%, 0%, 39.2%)
CIE-LABlab(35.37, 13.92, -44.62)
CIE-LCHlch(35.37, 46.74, 287.32°)
OKLaboklab(44.76% -0.0142 -0.1279)
OKLCHoklch(44.76% 0.129 263.7)
XYZxyz(9.9097, 8.6837, 32.1579)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E509B #9B792E
analogous
#2E879B #2E509B #422E9B
triadic
#2E509B #9B2E50 #509B2E
tetradic
#2E509B #9B2E87 #9B792E #2E9B42
square
#2E509B #9B2E87 #9B792E #2E9B42
split-complementary
#2E509B #9B422E #879B2E
monochromatic
#121F3D #20386C #2E509B #406AC6 #6F8FD4

Accessibility & contrast

On white

7.67
#2E509B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E509B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E509B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E509B#FFFFFF#000000##FFFFFF
##2E509B1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589E
Deuteranopia (green-blind)
#0E4E99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e509b;
/* rgb */ color: rgb(46, 80, 155);
/* oklch */ color: oklch(44.8% 0.129 263.7);
Tailwind
colors: {
  custom: {
    50: '#7480b9',
    500: '#2e509b',
    950: '#000000',
  },
}
SCSS
$custom: #2e509b;
$custom-light: #7480b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e509b",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 221.284,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44758,
    "c": 0.12868,
    "h": 263.7
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#2E509B
secondary
#BCA269
accent
#B04ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E509B

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

Preview Lab → · Contrast checker → · Palette generator →

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