#2E2E77#2E2E77

#2E2E77 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.122 H 278.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2E2E77
RGBrgb(46, 46, 119)
HSLhsl(240, 44%, 32%)
HSVhsv(240, 61%, 47%)
CMYKcmyk(61.3%, 61.3%, 0%, 53.3%)
CIE-LABlab(23.22, 23.53, -41.95)
CIE-LCHlch(23.22, 48.10, 299.29°)
OKLaboklab(34.77% 0.0169 -0.1205)
OKLCHoklch(34.77% 0.122 278)
XYZxyz(5.4324, 3.8663, 17.9092)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E77 #77772E
analogous
#2E5377 #2E2E77 #532E77
triadic
#2E2E77 #772E2E #2E772E
tetradic
#2E2E77 #772E53 #77772E #2E7753
square
#2E2E77 #772E53 #77772E #2E7753
split-complementary
#2E2E77 #77532E #53772E
monochromatic
#0C0C1F #1D1D4B #2E2E77 #3F3FA3 #5E5EC1

Accessibility & contrast

On white

11.84
#2E2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E77
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E77#FFFFFF#000000##FFFFFF
##2E2E771.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2e77;
/* rgb */ color: rgb(46, 46, 119);
/* oklch */ color: oklch(34.8% 0.122 278.0);
Tailwind
colors: {
  custom: {
    50: '#6f669f',
    500: '#2e2e77',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e77;
$custom-light: #6f669f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e77",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 240,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.12167,
    "h": 278
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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