#2E459D#2E459D

#2E459D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.146 H 268.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2E459D
RGBrgb(46, 69, 157)
HSLhsl(228, 55%, 40%)
HSVhsv(228, 71%, 62%)
CMYKcmyk(70.7%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.41, 22.03, -50.60)
CIE-LCHlch(32.41, 55.19, 293.53°)
OKLaboklab(42.56% -0.004 -0.1457)
OKLCHoklch(42.56% 0.146 268.4)
XYZxyz(9.3385, 7.2705, 32.8029)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E459D #9D862E
analogous
#2E7C9D #2E459D #4F2E9D
triadic
#2E459D #9D2E45 #459D2E
tetradic
#2E459D #9D2E7C #9D862E #2E9D4F
square
#2E459D #9D2E7C #9D862E #2E9D4F
split-complementary
#2E459D #9D4F2E #7C9D2E
monochromatic
#121B3E #20306E #2E459D #415DC7 #7085D5

Accessibility & contrast

On white

8.56
#2E459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E459D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E459D#FFFFFF#000000##FFFFFF
##2E459D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e459d;
/* rgb */ color: rgb(46, 69, 157);
/* oklch */ color: oklch(42.6% 0.146 268.4);
Tailwind
colors: {
  custom: {
    50: '#7578bb',
    500: '#2e459d',
    950: '#000000',
  },
}
SCSS
$custom: #2e459d;
$custom-light: #7578bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e459d",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 227.568,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.14571,
    "h": 268.4
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#2E459D
secondary
#BDAC6A
accent
#BF4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2E459D

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

Preview Lab → · Contrast checker → · Palette generator →

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