#2E4E94#2E4E94

#2E4E94 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.121 H 263.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2E4E94
RGBrgb(46, 78, 148)
HSLhsl(221, 53%, 38%)
HSVhsv(221, 69%, 58%)
CMYKcmyk(68.9%, 47.3%, 0%, 42%)
CIE-LABlab(34.33, 12.60, -42.06)
CIE-LCHlch(34.33, 43.91, 286.67°)
OKLaboklab(43.81% -0.0133 -0.1204)
OKLCHoklch(43.81% 0.121 263.7)
XYZxyz(9.1945, 8.1668, 29.1030)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E94 #94742E
analogous
#2E8194 #2E4E94 #412E94
triadic
#2E4E94 #942E4E #4E942E
tetradic
#2E4E94 #942E81 #94742E #2E9441
square
#2E4E94 #942E81 #94742E #2E9441
split-complementary
#2E4E94 #94412E #81942E
monochromatic
#111D37 #1F3565 #2E4E94 #3D67C3 #6B8BD1

Accessibility & contrast

On white

7.97
#2E4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E94
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E94#FFFFFF#000000##FFFFFF
##2E4E941.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#164C93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4e94;
/* rgb */ color: rgb(46, 78, 148);
/* oklch */ color: oklch(43.8% 0.121 263.7);
Tailwind
colors: {
  custom: {
    50: '#737fb4',
    500: '#2e4e94',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e94;
$custom-light: #737fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e94",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 221.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43814,
    "c": 0.12111,
    "h": 263.7
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#2E4E94
secondary
#B89E66
accent
#AF4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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