#2E3087#2E3087

#2E3087 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.142 H 275.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2E3087
RGBrgb(46, 48, 135)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 66%, 53%)
CMYKcmyk(65.9%, 64.4%, 0%, 47.1%)
CIE-LABlab(25.09, 27.95, -49.01)
CIE-LCHlch(25.09, 56.42, 299.70°)
OKLaboklab(36.56% 0.0144 -0.1412)
OKLCHoklch(36.56% 0.142 275.8)
XYZxyz(6.5554, 4.4435, 23.4292)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3087 #87852E
analogous
#2E5C87 #2E3087 #582E87
triadic
#2E3087 #872E30 #30872E
tetradic
#2E3087 #872E5C #87852E #2E8758
square
#2E3087 #872E5C #87852E #2E8758
split-complementary
#2E3087 #87582E #5C872E
monochromatic
#0F102C #1E2059 #2E3087 #3E40B5 #6567CA

Accessibility & contrast

On white

11.12
#2E3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3087
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3087#FFFFFF#000000##FFFFFF
##2E30871.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3087;
/* rgb */ color: rgb(46, 48, 135);
/* oklch */ color: oklch(36.6% 0.142 275.8);
Tailwind
colors: {
  custom: {
    50: '#7268ab',
    500: '#2e3087',
    950: '#000000',
  },
}
SCSS
$custom: #2e3087;
$custom-light: #7268ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3087",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 238.652,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.14194,
    "h": 275.8
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3087

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

Preview Lab → · Contrast checker → · Palette generator →

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