#2E2BA1#2E2BA1

#2E2BA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.182 H 274.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA1
RGBrgb(46, 43, 161)
HSLhsl(242, 58%, 40%)
HSVhsv(242, 73%, 63%)
CMYKcmyk(71.4%, 73.3%, 0%, 36.9%)
CIE-LABlab(26.39, 40.18, -62.87)
CIE-LCHlch(26.39, 74.61, 302.58°)
OKLaboklab(38.25% 0.0147 -0.1818)
OKLCHoklch(38.25% 0.182 274.6)
XYZxyz(8.4215, 4.8810, 34.2096)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA1 #9EA12B
analogous
#2B63A1 #2E2BA1 #692BA1
triadic
#2E2BA1 #A12E2B #2BA12E
tetradic
#2E2BA1 #A12B63 #9EA12B #2BA169
square
#2E2BA1 #A12B63 #9EA12B #2BA169
split-complementary
#2E2BA1 #A1692B #63A12B
monochromatic
#121140 #201E71 #2E2BA1 #413ECB #716ED8

Accessibility & contrast

On white

10.63
#2E2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E2BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA1
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA1#FFFFFF#000000##FFFFFF
##2E2BA11.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2ba1;
/* rgb */ color: rgb(46, 43, 161);
/* oklch */ color: oklch(38.3% 0.182 274.6);
Tailwind
colors: {
  custom: {
    50: '#7866be',
    500: '#2e2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba1;
$custom-light: #7866be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba1",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 241.525,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.18238,
    "h": 274.6
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#2E2BA1
secondary
#BDBF69
accent
#E147DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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