#2E459F#2E459F

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

Color values

HEX#2E459F
RGBrgb(46, 69, 159)
HSLhsl(228, 55%, 40%)
HSVhsv(228, 71%, 62%)
CMYKcmyk(71.1%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.57, 22.79, -51.56)
CIE-LCHlch(32.57, 56.37, 293.84°)
OKLaboklab(42.73% -0.0038 -0.1485)
OKLCHoklch(42.73% 0.149 268.5)
XYZxyz(9.5107, 7.3393, 33.7096)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E459F #9F882E
analogous
#2E7D9F #2E459F #502E9F
triadic
#2E459F #9F2E45 #459F2E
tetradic
#2E459F #9F2E7D #9F882E #2E9F50
square
#2E459F #9F2E7D #9F882E #2E9F50
split-complementary
#2E459F #9F502E #7D9F2E
monochromatic
#131C40 #203070 #2E459F #425DC8 #7186D6

Accessibility & contrast

On white

8.51
#2E459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E459F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E459F#FFFFFF#000000##FFFFFF
##2E459F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e459f;
/* rgb */ color: rgb(46, 69, 159);
/* oklch */ color: oklch(42.7% 0.149 268.5);
Tailwind
colors: {
  custom: {
    50: '#7678bc',
    500: '#2e459f',
    950: '#000000',
  },
}
SCSS
$custom: #2e459f;
$custom-light: #7678bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e459f",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 227.788,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.14853,
    "h": 268.5
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#2E459F
secondary
#BEAD6B
accent
#C049DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E459F

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

Preview Lab → · Contrast checker → · Palette generator →

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