#2E509A#2E509A

#2E509A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.127 H 263.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2E509A
RGBrgb(46, 80, 154)
HSLhsl(221, 54%, 39%)
HSVhsv(221, 70%, 60%)
CMYKcmyk(70.1%, 48.1%, 0%, 39.6%)
CIE-LABlab(35.30, 13.54, -44.13)
CIE-LCHlch(35.30, 46.16, 287.05°)
OKLaboklab(44.69% -0.0143 -0.1264)
OKLCHoklch(44.69% 0.127 263.5)
XYZxyz(9.8261, 8.6503, 31.7174)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E509A #9A782E
analogous
#2E869A #2E509A #422E9A
triadic
#2E509A #9A2E50 #509A2E
tetradic
#2E509A #9A2E86 #9A782E #2E9A42
square
#2E509A #9A2E86 #9A782E #2E9A42
split-complementary
#2E509A #9A422E #869A2E
monochromatic
#121F3C #20386B #2E509A #3F6AC6 #6F8ED4

Accessibility & contrast

On white

7.69
#2E509A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E509A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E509A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E509A#FFFFFF#000000##FFFFFF
##2E509A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589D
Deuteranopia (green-blind)
#114E98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e509a;
/* rgb */ color: rgb(46, 80, 154);
/* oklch */ color: oklch(44.7% 0.127 263.5);
Tailwind
colors: {
  custom: {
    50: '#7480b8',
    500: '#2e509a',
    950: '#000000',
  },
}
SCSS
$custom: #2e509a;
$custom-light: #7480b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e509a",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 221.111,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.12724,
    "h": 263.5
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#2E509A
secondary
#BBA169
accent
#AF4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E509A

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

Preview Lab → · Contrast checker → · Palette generator →

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