#2E509D#2E509D

#2E509D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.132 H 264.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2E509D
RGBrgb(46, 80, 157)
HSLhsl(222, 55%, 40%)
HSVhsv(222, 71%, 62%)
CMYKcmyk(70.7%, 49%, 0%, 38.4%)
CIE-LABlab(35.50, 14.67, -45.61)
CIE-LCHlch(35.50, 47.92, 287.83°)
OKLaboklab(44.9% -0.0139 -0.1308)
OKLCHoklch(44.9% 0.132 264)
XYZxyz(10.0790, 8.7515, 33.0498)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E509D #9D7B2E
analogous
#2E879D #2E509D #442E9D
triadic
#2E509D #9D2E50 #509D2E
tetradic
#2E509D #9D2E87 #9D7B2E #2E9D44
square
#2E509D #9D2E87 #9D7B2E #2E9D44
split-complementary
#2E509D #9D442E #879D2E
monochromatic
#12203E #20386E #2E509D #416AC7 #708FD5

Accessibility & contrast

On white

7.64
#2E509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E509D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E509D#FFFFFF#000000##FFFFFF
##2E509D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#074F9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e509d;
/* rgb */ color: rgb(46, 80, 157);
/* oklch */ color: oklch(44.9% 0.132 264.0);
Tailwind
colors: {
  custom: {
    50: '#7580ba',
    500: '#2e509d',
    950: '#000000',
  },
}
SCSS
$custom: #2e509d;
$custom-light: #7580ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e509d",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 221.622,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.13154,
    "h": 264
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#2E509D
secondary
#BDA36A
accent
#B14ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E509D

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

Preview Lab → · Contrast checker → · Palette generator →

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