#2E3089#2E3089

#2E3089 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.145 H 275.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2E3089
RGBrgb(46, 48, 137)
HSLhsl(239, 50%, 36%)
HSVhsv(239, 66%, 54%)
CMYKcmyk(66.4%, 65%, 0%, 46.3%)
CIE-LABlab(25.26, 28.67, -49.97)
CIE-LCHlch(25.26, 57.61, 299.85°)
OKLaboklab(36.74% 0.0142 -0.144)
OKLCHoklch(36.74% 0.145 275.6)
XYZxyz(6.6975, 4.5003, 24.1778)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3089 #89872E
analogous
#2E5D89 #2E3089 #592E89
triadic
#2E3089 #892E30 #30892E
tetradic
#2E3089 #892E5D #89872E #2E8959
square
#2E3089 #892E5D #89872E #2E8959
split-complementary
#2E3089 #89592E #5D892E
monochromatic
#0F102D #1F205B #2E3089 #3D40B7 #6668CC

Accessibility & contrast

On white

11.05
#2E3089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E3089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3089
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3089#FFFFFF#000000##FFFFFF
##2E30891.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e3089;
/* rgb */ color: rgb(46, 48, 137);
/* oklch */ color: oklch(36.7% 0.145 275.6);
Tailwind
colors: {
  custom: {
    50: '#7268ac',
    500: '#2e3089',
    950: '#000000',
  },
}
SCSS
$custom: #2e3089;
$custom-light: #7268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3089",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 238.681,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3674,
    "c": 0.14474,
    "h": 275.6
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#2E3089
secondary
#B2B160
accent
#D64FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E3089

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

Preview Lab → · Contrast checker → · Palette generator →

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