#2E4D92#2E4D92

#2E4D92 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.119 H 263.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2E4D92
RGBrgb(46, 77, 146)
HSLhsl(221, 52%, 38%)
HSVhsv(221, 68%, 57%)
CMYKcmyk(68.5%, 47.3%, 0%, 42.7%)
CIE-LABlab(33.91, 12.51, -41.52)
CIE-LCHlch(33.91, 43.36, 286.76°)
OKLaboklab(43.45% -0.0127 -0.1188)
OKLCHoklch(43.45% 0.119 263.9)
XYZxyz(8.9671, 7.9630, 28.2530)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D92 #92732E
analogous
#2E7F92 #2E4D92 #412E92
triadic
#2E4D92 #922E4D #4D922E
tetradic
#2E4D92 #922E7F #92732E #2E9241
square
#2E4D92 #922E7F #92732E #2E9241
split-complementary
#2E4D92 #92412E #7F922E
monochromatic
#111C35 #1F3463 #2E4D92 #3D66C1 #6A8AD0

Accessibility & contrast

On white

8.10
#2E4D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E4D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D92
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D92#FFFFFF#000000##FFFFFF
##2E4D921.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#174B91
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4d92;
/* rgb */ color: rgb(46, 77, 146);
/* oklch */ color: oklch(43.4% 0.119 263.9);
Tailwind
colors: {
  custom: {
    50: '#727eb2',
    500: '#2e4d92',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d92;
$custom-light: #727eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d92",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 221.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.11949,
    "h": 263.9
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#2E4D92
secondary
#B79E65
accent
#AF4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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