#2E2E99#2E2E99

#2E2E99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.169 H 274.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2E2E99
RGBrgb(46, 46, 153)
HSLhsl(240, 54%, 39%)
HSVhsv(240, 70%, 60%)
CMYKcmyk(69.9%, 69.9%, 0%, 40%)
CIE-LABlab(26.26, 35.62, -58.22)
CIE-LCHlch(26.26, 68.25, 301.46°)
OKLaboklab(37.92% 0.0141 -0.1682)
OKLCHoklch(37.92% 0.169 274.8)
XYZxyz(7.8516, 4.8340, 30.6501)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E99 #99992E
analogous
#2E6499 #2E2E99 #642E99
triadic
#2E2E99 #992E2E #2E992E
tetradic
#2E2E99 #992E64 #99992E #2E9964
square
#2E2E99 #992E64 #99992E #2E9964
split-complementary
#2E2E99 #99642E #64992E
monochromatic
#12123B #20206A #2E2E99 #3F3FC5 #6E6ED3

Accessibility & contrast

On white

10.68
#2E2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E99
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E99#FFFFFF#000000##FFFFFF
##2E2E991.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2e99;
/* rgb */ color: rgb(46, 46, 153);
/* oklch */ color: oklch(37.9% 0.169 274.8);
Tailwind
colors: {
  custom: {
    50: '#7667b8',
    500: '#2e2e99',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e99;
$custom-light: #7667b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e99",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37916,
    "c": 0.1688,
    "h": 274.8
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#2E2E99
secondary
#BBBB68
accent
#DD4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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