#2E2E76#2E2E76

#2E2E76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.120 H 278.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2E2E76
RGBrgb(46, 46, 118)
HSLhsl(240, 44%, 32%)
HSVhsv(240, 61%, 46%)
CMYKcmyk(61%, 61%, 0%, 53.7%)
CIE-LABlab(23.14, 23.17, -41.45)
CIE-LCHlch(23.14, 47.48, 299.20°)
OKLaboklab(34.68% 0.017 -0.119)
OKLCHoklch(34.68% 0.12 278.1)
XYZxyz(5.3727, 3.8425, 17.5946)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E76 #76762E
analogous
#2E5276 #2E2E76 #522E76
triadic
#2E2E76 #762E2E #2E762E
tetradic
#2E2E76 #762E52 #76762E #2E7652
square
#2E2E76 #762E52 #76762E #2E7652
split-complementary
#2E2E76 #76522E #52762E
monochromatic
#0C0C1E #1D1D4A #2E2E76 #3F3FA2 #5E5EC0

Accessibility & contrast

On white

11.87
#2E2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E76
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E76#FFFFFF#000000##FFFFFF
##2E2E761.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2e76;
/* rgb */ color: rgb(46, 46, 118);
/* oklch */ color: oklch(34.7% 0.120 278.1);
Tailwind
colors: {
  custom: {
    50: '#6f669e',
    500: '#2e2e76',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e76;
$custom-light: #6f669e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e76",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3468,
    "c": 0.12021,
    "h": 278.1
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#2E2E76
secondary
#A7A759
accent
#D454D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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