#2E3893#2E3893

#2E3893 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.148 H 272.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2E3893
RGBrgb(46, 56, 147)
HSLhsl(234, 52%, 38%)
HSVhsv(234, 69%, 58%)
CMYKcmyk(68.7%, 61.9%, 0%, 42.4%)
CIE-LABlab(28.15, 27.01, -51.43)
CIE-LCHlch(28.15, 58.10, 297.71°)
OKLaboklab(39.14% 0.007 -0.1483)
OKLCHoklch(39.14% 0.148 272.7)
XYZxyz(7.8056, 5.5151, 28.2513)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3893 #93892E
analogous
#2E6B93 #2E3893 #562E93
triadic
#2E3893 #932E38 #38932E
tetradic
#2E3893 #932E6B #93892E #2E9356
square
#2E3893 #932E6B #93892E #2E9356
split-complementary
#2E3893 #93562E #6B932E
monochromatic
#111436 #1F2664 #2E3893 #3D4AC2 #6B75D1

Accessibility & contrast

On white

9.98
#2E3893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E3893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3893
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3893#FFFFFF#000000##FFFFFF
##2E38931.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e3893;
/* rgb */ color: rgb(46, 56, 147);
/* oklch */ color: oklch(39.1% 0.148 272.7);
Tailwind
colors: {
  custom: {
    50: '#746eb3',
    500: '#2e3893',
    950: '#000000',
  },
}
SCSS
$custom: #2e3893;
$custom-light: #746eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3893",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 234.059,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.14843,
    "h": 272.7
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#2E3893
secondary
#B8AF65
accent
#CE4CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3893

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

Preview Lab → · Contrast checker → · Palette generator →

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