#2E2D77#2E2D77

#2E2D77 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.123 H 278.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2E2D77
RGBrgb(46, 45, 119)
HSLhsl(241, 45%, 32%)
HSVhsv(241, 62%, 47%)
CMYKcmyk(61.3%, 62.2%, 0%, 53.3%)
CIE-LABlab(22.96, 24.20, -42.38)
CIE-LCHlch(22.96, 48.80, 299.73°)
OKLaboklab(34.57% 0.018 -0.1218)
OKLCHoklch(34.57% 0.123 278.4)
XYZxyz(5.3938, 3.7891, 17.8963)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D77 #76772D
analogous
#2D5177 #2E2D77 #532D77
triadic
#2E2D77 #772E2D #2D772E
tetradic
#2E2D77 #772D51 #76772D #2D7753
square
#2E2D77 #772D51 #76772D #2D7753
split-complementary
#2E2D77 #77532D #51772D
monochromatic
#0C0B1E #1D1C4B #2E2D77 #3F3EA3 #5E5DC2

Accessibility & contrast

On white

11.95
#2E2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D77
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D77#FFFFFF#000000##FFFFFF
##2E2D771.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2d77;
/* rgb */ color: rgb(46, 45, 119);
/* oklch */ color: oklch(34.6% 0.123 278.4);
Tailwind
colors: {
  custom: {
    50: '#6f669f',
    500: '#2e2d77',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d77;
$custom-light: #6f669f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d77",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 240.811,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34572,
    "c": 0.12308,
    "h": 278.4
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#2E2D77
secondary
#A7A858
accent
#D553D3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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