#2E4D98#2E4D98

#2E4D98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.128 H 264.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2E4D98
RGBrgb(46, 77, 152)
HSLhsl(222, 54%, 39%)
HSVhsv(222, 70%, 60%)
CMYKcmyk(69.7%, 49.3%, 0%, 40.4%)
CIE-LABlab(34.30, 14.78, -44.52)
CIE-LCHlch(34.30, 46.91, 288.36°)
OKLaboklab(43.88% -0.0117 -0.1277)
OKLCHoklch(43.88% 0.128 264.7)
XYZxyz(9.4461, 8.1547, 30.7759)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D98 #98792E
analogous
#2E8298 #2E4D98 #442E98
triadic
#2E4D98 #982E4D #4D982E
tetradic
#2E4D98 #982E82 #98792E #2E9844
square
#2E4D98 #982E82 #98792E #2E9844
split-complementary
#2E4D98 #98442E #82982E
monochromatic
#121D3A #203569 #2E4D98 #3E66C5 #6D8BD3

Accessibility & contrast

On white

7.98
#2E4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4D98
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D98#FFFFFF#000000##FFFFFF
##2E4D981.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#084C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4d98;
/* rgb */ color: rgb(46, 77, 152);
/* oklch */ color: oklch(43.9% 0.128 264.7);
Tailwind
colors: {
  custom: {
    50: '#747eb7',
    500: '#2e4d98',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d98;
$custom-light: #747eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d98",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 222.453,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.12819,
    "h": 264.7
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#2E4D98
secondary
#BAA268
accent
#B24BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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