#2E459E#2E459E

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

Color values

HEX#2E459E
RGBrgb(46, 69, 158)
HSLhsl(228, 55%, 40%)
HSVhsv(228, 71%, 62%)
CMYKcmyk(70.9%, 56.3%, 0%, 38%)
CIE-LABlab(32.49, 22.41, -51.08)
CIE-LCHlch(32.49, 55.78, 293.69°)
OKLaboklab(42.64% -0.0039 -0.1471)
OKLCHoklch(42.64% 0.147 268.5)
XYZxyz(9.4243, 7.3048, 33.2544)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E459E #9E872E
analogous
#2E7D9E #2E459E #4F2E9E
triadic
#2E459E #9E2E45 #459E2E
tetradic
#2E459E #9E2E7D #9E872E #2E9E4F
square
#2E459E #9E2E7D #9E872E #2E9E4F
split-complementary
#2E459E #9E4F2E #7D9E2E
monochromatic
#121C3F #20306F #2E459E #415DC8 #7185D6

Accessibility & contrast

On white

8.53
#2E459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E459E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E459E#FFFFFF#000000##FFFFFF
##2E459E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e459e;
/* rgb */ color: rgb(46, 69, 158);
/* oklch */ color: oklch(42.6% 0.147 268.5);
Tailwind
colors: {
  custom: {
    50: '#7578bb',
    500: '#2e459e',
    950: '#000000',
  },
}
SCSS
$custom: #2e459e;
$custom-light: #7578bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e459e",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 227.679,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.14712,
    "h": 268.5
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#2E459E
secondary
#BDAC6B
accent
#C04ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2E459E

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

Preview Lab → · Contrast checker → · Palette generator →

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