#2E3899#2E3899

#2E3899 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.157 H 272.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2E3899
RGBrgb(46, 56, 153)
HSLhsl(234, 54%, 39%)
HSVhsv(234, 70%, 60%)
CMYKcmyk(69.9%, 63.4%, 0%, 40%)
CIE-LABlab(28.66, 29.21, -54.28)
CIE-LCHlch(28.66, 61.64, 298.29°)
OKLaboklab(39.67% 0.0068 -0.1566)
OKLCHoklch(39.67% 0.157 272.5)
XYZxyz(8.2887, 5.7083, 30.7958)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3899 #998F2E
analogous
#2E6E99 #2E3899 #5A2E99
triadic
#2E3899 #992E38 #38992E
tetradic
#2E3899 #992E6E #998F2E #2E995A
square
#2E3899 #992E6E #998F2E #2E995A
split-complementary
#2E3899 #995A2E #6E992E
monochromatic
#12163B #20276A #2E3899 #3F4BC5 #6E77D3

Accessibility & contrast

On white

9.80
#2E3899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2E3899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3899
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3899#FFFFFF#000000##FFFFFF
##2E38991.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e3899;
/* rgb */ color: rgb(46, 56, 153);
/* oklch */ color: oklch(39.7% 0.157 272.5);
Tailwind
colors: {
  custom: {
    50: '#756eb8',
    500: '#2e3899',
    950: '#000000',
  },
}
SCSS
$custom: #2e3899;
$custom-light: #756eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3899",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 234.393,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.15676,
    "h": 272.5
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#2E3899
secondary
#BBB368
accent
#CF4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3899

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

Preview Lab → · Contrast checker → · Palette generator →

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