#2E418D#2E418D

#2E418D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.128 H 269.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2E418D
RGBrgb(46, 65, 141)
HSLhsl(228, 51%, 37%)
HSVhsv(228, 67%, 55%)
CMYKcmyk(67.4%, 53.9%, 0%, 44.7%)
CIE-LABlab(30.12, 18.71, -44.56)
CIE-LCHlch(30.12, 48.33, 292.78°)
OKLaboklab(40.46% -0.0014 -0.1279)
OKLCHoklch(40.46% 0.128 269.4)
XYZxyz(7.8231, 6.2838, 25.9948)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E418D #8D7A2E
analogous
#2E718D #2E418D #4B2E8D
triadic
#2E418D #8D2E41 #418D2E
tetradic
#2E418D #8D2E71 #8D7A2E #2E8D4B
square
#2E418D #8D2E71 #8D7A2E #2E8D4B
split-complementary
#2E418D #8D4B2E #718D2E
monochromatic
#101631 #1F2C5F #2E418D #3D56BB #687CCE

Accessibility & contrast

On white

9.30
#2E418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E418D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E418D#FFFFFF#000000##FFFFFF
##2E418D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e418d;
/* rgb */ color: rgb(46, 65, 141);
/* oklch */ color: oklch(40.5% 0.128 269.4);
Tailwind
colors: {
  custom: {
    50: '#7275af',
    500: '#2e418d',
    950: '#000000',
  },
}
SCSS
$custom: #2e418d;
$custom-light: #7275af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e418d",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 228,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.12795,
    "h": 269.4
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#2E418D
secondary
#B5A462
accent
#BE4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E418D

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

Preview Lab → · Contrast checker → · Palette generator →

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