#2E4093#2E4093

#2E4093 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.138 H 270.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2E4093
RGBrgb(46, 64, 147)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 69%, 58%)
CMYKcmyk(68.7%, 56.5%, 0%, 42.4%)
CIE-LABlab(30.29, 21.64, -47.97)
CIE-LCHlch(30.29, 52.62, 294.28°)
OKLaboklab(40.72% -0.0001 -0.138)
OKLCHoklch(40.72% 0.138 270)
XYZxyz(8.2248, 6.3534, 28.3910)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4093 #93812E
analogous
#2E7293 #2E4093 #4E2E93
triadic
#2E4093 #932E40 #40932E
tetradic
#2E4093 #932E72 #93812E #2E934E
square
#2E4093 #932E72 #93812E #2E934E
split-complementary
#2E4093 #934E2E #72932E
monochromatic
#111736 #1F2C64 #2E4093 #3D54C2 #6B7DD1

Accessibility & contrast

On white

9.25
#2E4093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E4093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4093
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4093#FFFFFF#000000##FFFFFF
##2E40931.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4093;
/* rgb */ color: rgb(46, 64, 147);
/* oklch */ color: oklch(40.7% 0.138 270.0);
Tailwind
colors: {
  custom: {
    50: '#7374b3',
    500: '#2e4093',
    950: '#000000',
  },
}
SCSS
$custom: #2e4093;
$custom-light: #7374b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4093",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 147
  },
  "hsl": {
    "h": 229.307,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.13798,
    "h": 270
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#2E4093
secondary
#B8A965
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4093

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

Preview Lab → · Contrast checker → · Palette generator →

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