#2E2E85#2E2E85

#2E2E85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.142 H 276.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2E2E85
RGBrgb(46, 46, 133)
HSLhsl(240, 49%, 35%)
HSVhsv(240, 65%, 52%)
CMYKcmyk(65.4%, 65.4%, 0%, 47.8%)
CIE-LABlab(24.41, 28.55, -48.86)
CIE-LCHlch(24.41, 56.59, 300.30°)
OKLaboklab(36.01% 0.0163 -0.1408)
OKLCHoklch(36.01% 0.142 276.6)
XYZxyz(6.3360, 4.2278, 22.6679)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E85 #85852E
analogous
#2E5985 #2E2E85 #592E85
triadic
#2E2E85 #852E2E #2E852E
tetradic
#2E2E85 #852E59 #85852E #2E8559
square
#2E2E85 #852E59 #85852E #2E8559
split-complementary
#2E2E85 #85592E #59852E
monochromatic
#0F0F2A #1E1E58 #2E2E85 #3E3EB2 #6464C9

Accessibility & contrast

On white

11.38
#2E2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E85
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E85#FFFFFF#000000##FFFFFF
##2E2E851.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2e85;
/* rgb */ color: rgb(46, 46, 133);
/* oklch */ color: oklch(36.0% 0.142 276.6);
Tailwind
colors: {
  custom: {
    50: '#7267a9',
    500: '#2e2e85',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e85;
$custom-light: #7267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e85",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36009,
    "c": 0.14172,
    "h": 276.6
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#2E2E85
secondary
#B0B05F
accent
#D850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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