#2E2BA0#2E2BA0

#2E2BA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.181 H 274.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA0
RGBrgb(46, 43, 160)
HSLhsl(242, 58%, 40%)
HSVhsv(242, 73%, 63%)
CMYKcmyk(71.2%, 73.1%, 0%, 37.3%)
CIE-LABlab(26.29, 39.84, -62.43)
CIE-LCHlch(26.29, 74.06, 302.54°)
OKLaboklab(38.15% 0.0149 -0.1805)
OKLCHoklch(38.15% 0.181 274.7)
XYZxyz(8.3337, 4.8459, 33.7470)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA0 #9DA02B
analogous
#2B63A0 #2E2BA0 #682BA0
triadic
#2E2BA0 #A02E2B #2BA02E
tetradic
#2E2BA0 #A02B63 #9DA02B #2BA068
square
#2E2BA0 #A02B63 #9DA02B #2BA068
split-complementary
#2E2BA0 #A0682B #63A02B
monochromatic
#121140 #201E70 #2E2BA0 #413DCB #706ED8

Accessibility & contrast

On white

10.66
#2E2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA0#FFFFFF#000000##FFFFFF
##2E2BA01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2ba0;
/* rgb */ color: rgb(46, 43, 160);
/* oklch */ color: oklch(38.1% 0.181 274.7);
Tailwind
colors: {
  custom: {
    50: '#7866bd',
    500: '#2e2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba0;
$custom-light: #7866bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba0",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 241.538,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3815,
    "c": 0.18112,
    "h": 274.7
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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