#2E4096#2E4096

#2E4096 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.142 H 270.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2E4096
RGBrgb(46, 64, 150)
HSLhsl(230, 53%, 38%)
HSVhsv(230, 69%, 59%)
CMYKcmyk(69.3%, 57.3%, 0%, 41.2%)
CIE-LABlab(30.52, 22.77, -49.43)
CIE-LCHlch(30.52, 54.42, 294.73°)
OKLaboklab(40.97% 0.0001 -0.1423)
OKLCHoklch(40.97% 0.142 270)
XYZxyz(8.4633, 6.4488, 29.6470)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4096 #96842E
analogous
#2E7496 #2E4096 #502E96
triadic
#2E4096 #962E40 #40962E
tetradic
#2E4096 #962E74 #96842E #2E9650
square
#2E4096 #962E74 #96842E #2E9650
split-complementary
#2E4096 #96502E #74962E
monochromatic
#111838 #202C67 #2E4096 #3E55C4 #6C7ED2

Accessibility & contrast

On white

9.17
#2E4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4096
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4096#FFFFFF#000000##FFFFFF
##2E40961.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4096;
/* rgb */ color: rgb(46, 64, 150);
/* oklch */ color: oklch(41.0% 0.142 270.0);
Tailwind
colors: {
  custom: {
    50: '#7474b6',
    500: '#2e4096',
    950: '#000000',
  },
}
SCSS
$custom: #2e4096;
$custom-light: #7474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4096",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 229.615,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.14227,
    "h": 270
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#2E4096
secondary
#B9AB67
accent
#C34BDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4096

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

Preview Lab → · Contrast checker → · Palette generator →

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