#2E2994#2E2994

#2E2994 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.168 H 276.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2994
RGBrgb(46, 41, 148)
HSLhsl(243, 57%, 37%)
HSVhsv(243, 72%, 58%)
CMYKcmyk(68.9%, 72.3%, 0%, 42%)
CIE-LABlab(24.65, 36.95, -57.78)
CIE-LCHlch(24.65, 68.59, 302.60°)
OKLaboklab(36.61% 0.0182 -0.1669)
OKLCHoklch(36.61% 0.168 276.2)
XYZxyz(7.2632, 4.3042, 28.4593)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2994 #8F9429
analogous
#295994 #2E2994 #642994
triadic
#2E2994 #942E29 #29942E
tetradic
#2E2994 #942959 #8F9429 #299464
square
#2E2994 #942959 #8F9429 #299464
split-complementary
#2E2994 #946429 #599429
monochromatic
#100E34 #1F1C64 #2E2994 #3D36C4 #6963D4

Accessibility & contrast

On white

11.28
#2E2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2994
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2994#FFFFFF#000000##FFFFFF
##2E29941.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2994;
/* rgb */ color: rgb(46, 41, 148);
/* oklch */ color: oklch(36.6% 0.168 276.2);
Tailwind
colors: {
  custom: {
    50: '#7564b4',
    500: '#2e2994',
    950: '#000000',
  },
}
SCSS
$custom: #2e2994;
$custom-light: #7564b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2994",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 242.804,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36615,
    "c": 0.16792,
    "h": 276.2
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#2E2994
secondary
#B6BA5F
accent
#E048D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2E2994

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

Preview Lab → · Contrast checker → · Palette generator →

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