#2E2088#2E2088

#2E2088 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.162 H 279.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2E2088
RGBrgb(46, 32, 136)
HSLhsl(248, 62%, 33%)
HSVhsv(248, 76%, 53%)
CMYKcmyk(66.2%, 76.5%, 0%, 46.7%)
CIE-LABlab(21.55, 38.19, -55.44)
CIE-LCHlch(21.55, 67.32, 304.56°)
OKLaboklab(34.04% 0.0267 -0.16)
OKLCHoklch(34.04% 0.162 279.5)
XYZxyz(6.0857, 3.3910, 23.6216)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2088 #7A8820
analogous
#204688 #2E2088 #622088
triadic
#2E2088 #882E20 #20882E
tetradic
#2E2088 #882046 #7A8820 #208862
square
#2E2088 #882046 #7A8820 #208862
split-complementary
#2E2088 #886220 #468820
monochromatic
#0C0925 #1D1456 #2E2088 #3F2CBA #604DD5

Accessibility & contrast

On white

12.51
#2E2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2088
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2088#FFFFFF#000000##FFFFFF
##2E20881.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2088;
/* rgb */ color: rgb(46, 32, 136);
/* oklch */ color: oklch(34.0% 0.162 279.5);
Tailwind
colors: {
  custom: {
    50: '#745eac',
    500: '#2e2088',
    950: '#000000',
  },
}
SCSS
$custom: #2e2088;
$custom-light: #745eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2088",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 248.077,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34037,
    "c": 0.16225,
    "h": 279.5
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#2E2088
secondary
#AAB84C
accent
#E543CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2088

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

Preview Lab → · Contrast checker → · Palette generator →

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