#2E2A85#2E2A85

#2E2A85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.147 H 277.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2E2A85
RGBrgb(46, 42, 133)
HSLhsl(243, 52%, 34%)
HSVhsv(243, 68%, 52%)
CMYKcmyk(65.4%, 68.4%, 0%, 47.8%)
CIE-LABlab(23.44, 31.14, -50.45)
CIE-LCHlch(23.44, 59.29, 301.69°)
OKLaboklab(35.3% 0.0197 -0.1455)
OKLCHoklch(35.3% 0.147 277.7)
XYZxyz(6.1869, 3.9297, 22.6182)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A85 #81852A
analogous
#2A5485 #2E2A85 #5C2A85
triadic
#2E2A85 #852E2A #2A852E
tetradic
#2E2A85 #852A54 #81852A #2A855C
square
#2E2A85 #852A54 #81852A #2A855C
split-complementary
#2E2A85 #855C2A #54852A
monochromatic
#0E0D28 #1E1B56 #2E2A85 #3E39B4 #625DCC

Accessibility & contrast

On white

11.76
#2E2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A85
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A85#FFFFFF#000000##FFFFFF
##2E2A851.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2a85;
/* rgb */ color: rgb(46, 42, 133);
/* oklch */ color: oklch(35.3% 0.147 277.7);
Tailwind
colors: {
  custom: {
    50: '#7264a9',
    500: '#2e2a85',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a85;
$custom-light: #7264a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a85",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 242.637,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35301,
    "c": 0.1468,
    "h": 277.7
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#2E2A85
secondary
#AEB259
accent
#DB4CD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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