#2E4393#2E4393

#2E4393 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.134 H 268.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2E4393
RGBrgb(46, 67, 147)
HSLhsl(228, 52%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(68.7%, 54.4%, 0%, 42.4%)
CIE-LABlab(31.12, 19.62, -46.62)
CIE-LCHlch(31.12, 50.58, 292.82°)
OKLaboklab(41.35% -0.0028 -0.134)
OKLCHoklch(41.35% 0.134 268.8)
XYZxyz(8.3985, 6.7009, 28.4489)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4393 #937E2E
analogous
#2E7593 #2E4393 #4B2E93
triadic
#2E4393 #932E43 #43932E
tetradic
#2E4393 #932E75 #937E2E #2E934B
square
#2E4393 #932E75 #937E2E #2E934B
split-complementary
#2E4393 #934B2E #75932E
monochromatic
#111936 #1F2E64 #2E4393 #3D58C2 #6B80D1

Accessibility & contrast

On white

8.97
#2E4393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E4393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4393
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4393#FFFFFF#000000##FFFFFF
##2E43931.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4E96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4393;
/* rgb */ color: rgb(46, 67, 147);
/* oklch */ color: oklch(41.3% 0.134 268.8);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2e4393',
    950: '#000000',
  },
}
SCSS
$custom: #2e4393;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4393",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 227.525,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.13402,
    "h": 268.8
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#2E4393
secondary
#B8A665
accent
#BE4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4393

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

Preview Lab → · Contrast checker → · Palette generator →

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