#2E2697#2E2697

#2E2697 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.175 H 276.4°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2E2697
RGBrgb(46, 38, 151)
HSLhsl(244, 60%, 37%)
HSVhsv(244, 75%, 59%)
CMYKcmyk(69.5%, 74.8%, 0%, 40.8%)
CIE-LABlab(24.32, 39.73, -60.17)
CIE-LCHlch(24.32, 72.10, 303.43°)
OKLaboklab(36.47% 0.0195 -0.1739)
OKLCHoklch(36.47% 0.175 276.4)
XYZxyz(7.4039, 4.2008, 29.6928)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2697 #8F9726
analogous
#265797 #2E2697 #672697
triadic
#2E2697 #972E26 #26972E
tetradic
#2E2697 #972657 #8F9726 #269767
square
#2E2697 #972657 #8F9726 #269767
split-complementary
#2E2697 #976726 #579726
monochromatic
#100D35 #1F1A66 #2E2697 #3D32C8 #6960D7

Accessibility & contrast

On white

11.41
#2E2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2697
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2697#FFFFFF#000000##FFFFFF
##2E26971.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2697;
/* rgb */ color: rgb(46, 38, 151);
/* oklch */ color: oklch(36.5% 0.175 276.4);
Tailwind
colors: {
  custom: {
    50: '#7662b7',
    500: '#2e2697',
    950: '#000000',
  },
}
SCSS
$custom: #2e2697;
$custom-light: #7662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2697",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 244.248,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36473,
    "c": 0.17497,
    "h": 276.4
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#2E2697
secondary
#B6BC5C
accent
#E345D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2697

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

Preview Lab → · Contrast checker → · Palette generator →

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