#2E4E93#2E4E93

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

Color values

HEX#2E4E93
RGBrgb(46, 78, 147)
HSLhsl(221, 52%, 38%)
HSVhsv(221, 69%, 58%)
CMYKcmyk(68.7%, 46.9%, 0%, 42.4%)
CIE-LABlab(34.26, 12.22, -41.56)
CIE-LCHlch(34.26, 43.31, 286.38°)
OKLaboklab(43.74% -0.0135 -0.1189)
OKLCHoklch(43.74% 0.12 263.5)
XYZxyz(9.1157, 8.1353, 28.6880)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E93 #93732E
analogous
#2E8093 #2E4E93 #402E93
triadic
#2E4E93 #932E4E #4E932E
tetradic
#2E4E93 #932E80 #93732E #2E9340
square
#2E4E93 #932E80 #93732E #2E9340
split-complementary
#2E4E93 #93402E #80932E
monochromatic
#111D36 #1F3564 #2E4E93 #3D67C2 #6B8BD1

Accessibility & contrast

On white

7.99
#2E4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E93
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E93#FFFFFF#000000##FFFFFF
##2E4E931.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5696
Deuteranopia (green-blind)
#184C92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4e93;
/* rgb */ color: rgb(46, 78, 147);
/* oklch */ color: oklch(43.7% 0.120 263.5);
Tailwind
colors: {
  custom: {
    50: '#737fb3',
    500: '#2e4e93',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e93;
$custom-light: #737fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e93",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 220.99,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.11966,
    "h": 263.5
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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