#2E509E#2E509E

#2E509E is a dark, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.133 H 264.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2E509E
RGBrgb(46, 80, 158)
HSLhsl(222, 55%, 40%)
HSVhsv(222, 71%, 62%)
CMYKcmyk(70.9%, 49.4%, 0%, 38%)
CIE-LABlab(35.57, 15.05, -46.11)
CIE-LCHlch(35.57, 48.50, 288.08°)
OKLaboklab(44.98% -0.0137 -0.1323)
OKLCHoklch(44.98% 0.133 264.1)
XYZxyz(10.1648, 8.7857, 33.5012)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E509E #9E7C2E
analogous
#2E889E #2E509E #442E9E
triadic
#2E509E #9E2E50 #509E2E
tetradic
#2E509E #9E2E88 #9E7C2E #2E9E44
square
#2E509E #9E2E88 #9E7C2E #2E9E44
split-complementary
#2E509E #9E442E #889E2E
monochromatic
#12203F #20386F #2E509E #416AC8 #718FD6

Accessibility & contrast

On white

7.62
#2E509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E509E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E509E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E509E#FFFFFF#000000##FFFFFF
##2E509E1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#044F9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e509e;
/* rgb */ color: rgb(46, 80, 158);
/* oklch */ color: oklch(45.0% 0.133 264.1);
Tailwind
colors: {
  custom: {
    50: '#7580bb',
    500: '#2e509e',
    950: '#000000',
  },
}
SCSS
$custom: #2e509e;
$custom-light: #7580bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e509e",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 221.786,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.13297,
    "h": 264.1
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E509E

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

Preview Lab → · Contrast checker → · Palette generator →

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