#2E4493#2E4493

#2E4493 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.133 H 268.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2E4493
RGBrgb(46, 68, 147)
HSLhsl(227, 52%, 38%)
HSVhsv(227, 69%, 58%)
CMYKcmyk(68.7%, 53.7%, 0%, 42.4%)
CIE-LABlab(31.40, 18.94, -46.17)
CIE-LCHlch(31.40, 49.91, 292.30°)
OKLaboklab(41.56% -0.0038 -0.1326)
OKLCHoklch(41.56% 0.133 268.4)
XYZxyz(8.4585, 6.8209, 28.4689)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4493 #937D2E
analogous
#2E7693 #2E4493 #4B2E93
triadic
#2E4493 #932E44 #44932E
tetradic
#2E4493 #932E76 #937D2E #2E934B
square
#2E4493 #932E76 #937D2E #2E934B
split-complementary
#2E4493 #934B2E #76932E
monochromatic
#111936 #1F2E64 #2E4493 #3D5AC2 #6B81D1

Accessibility & contrast

On white

8.88
#2E4493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E4493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4493
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4493#FFFFFF#000000##FFFFFF
##2E44931.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4493;
/* rgb */ color: rgb(46, 68, 147);
/* oklch */ color: oklch(41.6% 0.133 268.4);
Tailwind
colors: {
  custom: {
    50: '#7377b3',
    500: '#2e4493',
    950: '#000000',
  },
}
SCSS
$custom: #2e4493;
$custom-light: #7377b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4493",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 226.931,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.13269,
    "h": 268.4
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4493

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

Preview Lab → · Contrast checker → · Palette generator →

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