#2E419F#2E419F

#2E419F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.154 H 269.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2E419F
RGBrgb(46, 65, 159)
HSLhsl(230, 55%, 40%)
HSVhsv(230, 71%, 62%)
CMYKcmyk(71.1%, 59.1%, 0%, 37.6%)
CIE-LABlab(31.49, 25.46, -53.31)
CIE-LCHlch(31.49, 59.07, 295.53°)
OKLaboklab(41.92% -0.0005 -0.1537)
OKLCHoklch(41.92% 0.154 269.8)
XYZxyz(9.2729, 6.8637, 33.6303)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E419F #9F8C2E
analogous
#2E799F #2E419F #542E9F
triadic
#2E419F #9F2E41 #419F2E
tetradic
#2E419F #9F2E79 #9F8C2E #2E9F54
square
#2E419F #9F2E79 #9F8C2E #2E9F54
split-complementary
#2E419F #9F542E #799F2E
monochromatic
#131A40 #202E70 #2E419F #4259C8 #7182D6

Accessibility & contrast

On white

8.85
#2E419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E419F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E419F#FFFFFF#000000##FFFFFF
##2E419F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e419f;
/* rgb */ color: rgb(46, 65, 159);
/* oklch */ color: oklch(41.9% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#7675bc',
    500: '#2e419f',
    950: '#000000',
  },
}
SCSS
$custom: #2e419f;
$custom-light: #7675bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e419f",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 229.912,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.15366,
    "h": 269.8
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#2E419F
secondary
#BEB06B
accent
#C549DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E419F

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

Preview Lab → · Contrast checker → · Palette generator →

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