#2E2985#2E2985

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

Color values

HEX#2E2985
RGBrgb(46, 41, 133)
HSLhsl(243, 53%, 34%)
HSVhsv(243, 69%, 52%)
CMYKcmyk(65.4%, 69.2%, 0%, 47.8%)
CIE-LABlab(23.20, 31.78, -50.84)
CIE-LCHlch(23.20, 59.95, 302.01°)
OKLaboklab(35.13% 0.0205 -0.1466)
OKLCHoklch(35.13% 0.148 278)
XYZxyz(6.1519, 3.8597, 22.6066)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2985 #808529
analogous
#295285 #2E2985 #5C2985
triadic
#2E2985 #852E29 #29852E
tetradic
#2E2985 #852952 #808529 #29855C
square
#2E2985 #852952 #808529 #29855C
split-complementary
#2E2985 #855C29 #528529
monochromatic
#0E0C27 #1E1B56 #2E2985 #3E37B4 #625CCD

Accessibility & contrast

On white

11.85
#2E2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2985
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2985#FFFFFF#000000##FFFFFF
##2E29851.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2985;
/* rgb */ color: rgb(46, 41, 133);
/* oklch */ color: oklch(35.1% 0.148 278.0);
Tailwind
colors: {
  custom: {
    50: '#7263a9',
    500: '#2e2985',
    950: '#000000',
  },
}
SCSS
$custom: #2e2985;
$custom-light: #7263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2985",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 243.261,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.14804,
    "h": 278
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#2E2985
secondary
#ADB258
accent
#DC4CD4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2985

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

Preview Lab → · Contrast checker → · Palette generator →

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