#2E3889#2E3889

#2E3889 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.134 H 273.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2E3889
RGBrgb(46, 56, 137)
HSLhsl(233, 50%, 36%)
HSVhsv(233, 66%, 54%)
CMYKcmyk(66.4%, 59.1%, 0%, 46.3%)
CIE-LABlab(27.34, 23.33, -46.59)
CIE-LCHlch(27.34, 52.10, 296.60°)
OKLaboklab(38.27% 0.007 -0.134)
OKLCHoklch(38.27% 0.134 273)
XYZxyz(7.0547, 5.2147, 24.2968)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3889 #897F2E
analogous
#2E6589 #2E3889 #512E89
triadic
#2E3889 #892E38 #38892E
tetradic
#2E3889 #892E65 #897F2E #2E8951
square
#2E3889 #892E65 #897F2E #2E8951
split-complementary
#2E3889 #89512E #65892E
monochromatic
#0F132D #1F255B #2E3889 #3D4BB7 #6671CC

Accessibility & contrast

On white

10.28
#2E3889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E3889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3889
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3889#FFFFFF#000000##FFFFFF
##2E38891.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3889;
/* rgb */ color: rgb(46, 56, 137);
/* oklch */ color: oklch(38.3% 0.134 273.0);
Tailwind
colors: {
  custom: {
    50: '#726eac',
    500: '#2e3889',
    950: '#000000',
  },
}
SCSS
$custom: #2e3889;
$custom-light: #726eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3889",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 233.407,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.13421,
    "h": 273
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#2E3889
secondary
#B2A960
accent
#CA4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E3889

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

Preview Lab → · Contrast checker → · Palette generator →

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