#2E4E92#2E4E92

#2E4E92 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.7% C 0.118 H 263.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2E4E92
RGBrgb(46, 78, 146)
HSLhsl(221, 52%, 38%)
HSVhsv(221, 68%, 57%)
CMYKcmyk(68.5%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.20, 11.84, -41.05)
CIE-LCHlch(34.20, 42.72, 286.09°)
OKLaboklab(43.67% -0.0137 -0.1174)
OKLCHoklch(43.67% 0.118 263.4)
XYZxyz(9.0376, 8.1041, 28.2765)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E92 #92722E
analogous
#2E8092 #2E4E92 #402E92
triadic
#2E4E92 #922E4E #4E922E
tetradic
#2E4E92 #922E80 #92722E #2E9240
square
#2E4E92 #922E80 #92722E #2E9240
split-complementary
#2E4E92 #92402E #80922E
monochromatic
#111C35 #1F3563 #2E4E92 #3D67C1 #6A8BD0

Accessibility & contrast

On white

8.01
#2E4E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E4E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E92
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E92#FFFFFF#000000##FFFFFF
##2E4E921.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#1A4C91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4e92;
/* rgb */ color: rgb(46, 78, 146);
/* oklch */ color: oklch(43.7% 0.118 263.4);
Tailwind
colors: {
  custom: {
    50: '#727fb2',
    500: '#2e4e92',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e92;
$custom-light: #727fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e92",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 220.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.11821,
    "h": 263.4
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#2E4E92
secondary
#B79D65
accent
#AE4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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