#2E419C#2E419C

#2E419C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.149 H 269.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2E419C
RGBrgb(46, 65, 156)
HSLhsl(230, 54%, 40%)
HSVhsv(230, 71%, 61%)
CMYKcmyk(70.5%, 58.3%, 0%, 38.8%)
CIE-LABlab(31.26, 24.34, -51.88)
CIE-LCHlch(31.26, 57.30, 295.13°)
OKLaboklab(41.67% -0.0006 -0.1495)
OKLCHoklch(41.67% 0.149 269.8)
XYZxyz(9.0157, 6.7609, 32.2759)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E419C #9C892E
analogous
#2E789C #2E419C #522E9C
triadic
#2E419C #9C2E41 #419C2E
tetradic
#2E419C #9C2E78 #9C892E #2E9C52
square
#2E419C #9C2E78 #9C892E #2E9C52
split-complementary
#2E419C #9C522E #789C2E
monochromatic
#121A3D #202D6D #2E419C #4058C7 #7081D5

Accessibility & contrast

On white

8.93
#2E419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E419C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E419C#FFFFFF#000000##FFFFFF
##2E419C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e419c;
/* rgb */ color: rgb(46, 65, 156);
/* oklch */ color: oklch(41.7% 0.149 269.8);
Tailwind
colors: {
  custom: {
    50: '#7575ba',
    500: '#2e419c',
    950: '#000000',
  },
}
SCSS
$custom: #2e419c;
$custom-light: #7575ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e419c",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 229.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.14947,
    "h": 269.8
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#2E419C
secondary
#BCAE6A
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2E419C

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

Preview Lab → · Contrast checker → · Palette generator →

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