#2E4F99#2E4F99

#2E4F99 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.127 H 263.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2E4F99
RGBrgb(46, 79, 153)
HSLhsl(221, 54%, 39%)
HSVhsv(221, 70%, 60%)
CMYKcmyk(69.9%, 48.4%, 0%, 40%)
CIE-LABlab(34.95, 13.82, -44.09)
CIE-LCHlch(34.95, 46.21, 287.41°)
OKLaboklab(44.39% -0.0135 -0.1263)
OKLCHoklch(44.39% 0.127 263.9)
XYZxyz(9.6704, 8.4717, 31.2564)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F99 #99782E
analogous
#2E8599 #2E4F99 #422E99
triadic
#2E4F99 #992E4F #4F992E
tetradic
#2E4F99 #992E85 #99782E #2E9942
square
#2E4F99 #992E85 #99782E #2E9942
split-complementary
#2E4F99 #99422E #85992E
monochromatic
#121E3B #20376A #2E4F99 #3F68C5 #6E8DD3

Accessibility & contrast

On white

7.79
#2E4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E4F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F99
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F99#FFFFFF#000000##FFFFFF
##2E4F991.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#0F4E97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4f99;
/* rgb */ color: rgb(46, 79, 153);
/* oklch */ color: oklch(44.4% 0.127 263.9);
Tailwind
colors: {
  custom: {
    50: '#747fb7',
    500: '#2e4f99',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f99;
$custom-light: #747fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f99",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 221.495,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44393,
    "c": 0.12707,
    "h": 263.9
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#2E4F99
secondary
#BBA168
accent
#B04BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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