#2E2698#2E2698

#2E2698 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.176 H 276.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2E2698
RGBrgb(46, 38, 152)
HSLhsl(244, 60%, 37%)
HSVhsv(244, 75%, 60%)
CMYKcmyk(69.7%, 75%, 0%, 40.4%)
CIE-LABlab(24.43, 40.06, -60.61)
CIE-LCHlch(24.43, 72.66, 303.46°)
OKLaboklab(36.58% 0.0193 -0.1752)
OKLCHoklch(36.58% 0.176 276.3)
XYZxyz(7.4855, 4.2334, 30.1223)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2698 #909826
analogous
#265798 #2E2698 #672698
triadic
#2E2698 #982E26 #26982E
tetradic
#2E2698 #982657 #909826 #269867
square
#2E2698 #982657 #909826 #269867
split-complementary
#2E2698 #986726 #579826
monochromatic
#100E36 #1F1A67 #2E2698 #3D32C9 #6961D7

Accessibility & contrast

On white

11.37
#2E2698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2698
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2698#FFFFFF#000000##FFFFFF
##2E26981.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2698;
/* rgb */ color: rgb(46, 38, 152);
/* oklch */ color: oklch(36.6% 0.176 276.3);
Tailwind
colors: {
  custom: {
    50: '#7762b7',
    500: '#2e2698',
    950: '#000000',
  },
}
SCSS
$custom: #2e2698;
$custom-light: #7762b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2698",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 244.211,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36578,
    "c": 0.17623,
    "h": 276.3
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2698

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

Preview Lab → · Contrast checker → · Palette generator →

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