#2E4E98#2E4E98

#2E4E98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.127 H 264.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2E4E98
RGBrgb(46, 78, 152)
HSLhsl(222, 54%, 39%)
HSVhsv(222, 70%, 60%)
CMYKcmyk(69.7%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.59, 14.11, -44.06)
CIE-LCHlch(34.59, 46.27, 287.76°)
OKLaboklab(44.1% -0.0127 -0.1263)
OKLCHoklch(44.1% 0.127 264.3)
XYZxyz(9.5166, 8.2957, 30.7994)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E98 #98782E
analogous
#2E8398 #2E4E98 #432E98
triadic
#2E4E98 #982E4E #4E982E
tetradic
#2E4E98 #982E83 #98782E #2E9843
square
#2E4E98 #982E83 #98782E #2E9843
split-complementary
#2E4E98 #98432E #83982E
monochromatic
#121E3A #203669 #2E4E98 #3E67C5 #6D8CD3

Accessibility & contrast

On white

7.90
#2E4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E98
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E98#FFFFFF#000000##FFFFFF
##2E4E981.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#0D4D96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4e98;
/* rgb */ color: rgb(46, 78, 152);
/* oklch */ color: oklch(44.1% 0.127 264.3);
Tailwind
colors: {
  custom: {
    50: '#747fb7',
    500: '#2e4e98',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e98;
$custom-light: #747fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e98",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 221.887,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.441,
    "c": 0.12691,
    "h": 264.3
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#2E4E98
secondary
#BAA168
accent
#B14BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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