#2E2099#2E2099

#2E2099 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.183 H 277.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2E2099
RGBrgb(46, 32, 153)
HSLhsl(247, 65%, 36%)
HSVhsv(247, 79%, 60%)
CMYKcmyk(69.9%, 79.1%, 0%, 40%)
CIE-LABlab(23.38, 43.67, -62.96)
CIE-LCHlch(23.38, 76.62, 304.74°)
OKLaboklab(35.87% 0.0224 -0.1819)
OKLCHoklch(35.87% 0.183 277)
XYZxyz(7.3911, 3.9131, 30.4966)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2099 #8B9920
analogous
#204F99 #2E2099 #6B2099
triadic
#2E2099 #992E20 #20992E
tetradic
#2E2099 #99204F #8B9920 #20996B
square
#2E2099 #99204F #8B9920 #20996B
split-complementary
#2E2099 #996B20 #4F9920
monochromatic
#100B34 #1F1566 #2E2099 #3D2BCC #6757DC

Accessibility & contrast

On white

11.78
#2E2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2099
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2099#FFFFFF#000000##FFFFFF
##2E20991.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2099;
/* rgb */ color: rgb(46, 32, 153);
/* oklch */ color: oklch(35.9% 0.183 277.0);
Tailwind
colors: {
  custom: {
    50: '#775fb8',
    500: '#2e2099',
    950: '#000000',
  },
}
SCSS
$custom: #2e2099;
$custom-light: #775fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2099",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 246.942,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35873,
    "c": 0.18331,
    "h": 277
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#2E2099
secondary
#B3C055
accent
#E83FD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E2099

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

Preview Lab → · Contrast checker → · Palette generator →

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