#2E2696#2E2696

#2E2696 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.174 H 276.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2E2696
RGBrgb(46, 38, 150)
HSLhsl(244, 60%, 37%)
HSVhsv(244, 75%, 59%)
CMYKcmyk(69.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(24.22, 39.39, -59.73)
CIE-LCHlch(24.22, 71.55, 303.41°)
OKLaboklab(36.37% 0.0197 -0.1726)
OKLCHoklch(36.37% 0.174 276.5)
XYZxyz(7.3230, 4.1684, 29.2669)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2696 #8E9626
analogous
#265696 #2E2696 #662696
triadic
#2E2696 #962E26 #26962E
tetradic
#2E2696 #962656 #8E9626 #269666
square
#2E2696 #962656 #8E9626 #269666
split-complementary
#2E2696 #966626 #569626
monochromatic
#100D34 #1F1A65 #2E2696 #3D32C7 #6860D7

Accessibility & contrast

On white

11.45
#2E2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2696
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2696#FFFFFF#000000##FFFFFF
##2E26961.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2696;
/* rgb */ color: rgb(46, 38, 150);
/* oklch */ color: oklch(36.4% 0.174 276.5);
Tailwind
colors: {
  custom: {
    50: '#7662b6',
    500: '#2e2696',
    950: '#000000',
  },
}
SCSS
$custom: #2e2696;
$custom-light: #7662b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2696",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 244.286,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36369,
    "c": 0.17372,
    "h": 276.5
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#2E2696
secondary
#B5BC5C
accent
#E345D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2696

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

Preview Lab → · Contrast checker → · Palette generator →

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