#2E4592#2E4592

#2E4592 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.130 H 267.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2E4592
RGBrgb(46, 69, 146)
HSLhsl(226, 52%, 38%)
HSVhsv(226, 68%, 57%)
CMYKcmyk(68.5%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.60, 17.89, -45.22)
CIE-LCHlch(31.60, 48.63, 291.58°)
OKLaboklab(41.69% -0.0048 -0.1298)
OKLCHoklch(41.69% 0.13 267.9)
XYZxyz(8.4414, 6.9116, 28.0778)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4592 #927B2E
analogous
#2E7792 #2E4592 #492E92
triadic
#2E4592 #922E45 #45922E
tetradic
#2E4592 #922E77 #927B2E #2E9249
square
#2E4592 #922E77 #927B2E #2E9249
split-complementary
#2E4592 #92492E #77922E
monochromatic
#111935 #1F2F63 #2E4592 #3D5BC1 #6A82D0

Accessibility & contrast

On white

8.81
#2E4592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E4592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4592
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4592#FFFFFF#000000##FFFFFF
##2E45921.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4592;
/* rgb */ color: rgb(46, 69, 146);
/* oklch */ color: oklch(41.7% 0.130 267.9);
Tailwind
colors: {
  custom: {
    50: '#7378b2',
    500: '#2e4592',
    950: '#000000',
  },
}
SCSS
$custom: #2e4592;
$custom-light: #7378b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4592",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 226.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.12993,
    "h": 267.9
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#2E4592
secondary
#B7A465
accent
#BB4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4592

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

Preview Lab → · Contrast checker → · Palette generator →

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