#2E2B9F#2E2B9F

#2E2B9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.180 H 274.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2B9F
RGBrgb(46, 43, 159)
HSLhsl(242, 57%, 40%)
HSVhsv(242, 73%, 62%)
CMYKcmyk(71.1%, 73%, 0%, 37.6%)
CIE-LABlab(26.19, 39.50, -61.99)
CIE-LCHlch(26.19, 73.51, 302.50°)
OKLaboklab(38.05% 0.015 -0.1792)
OKLCHoklch(38.05% 0.18 274.8)
XYZxyz(8.2465, 4.8110, 33.2882)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B9F #9C9F2B
analogous
#2B629F #2E2B9F #682B9F
triadic
#2E2B9F #9F2E2B #2B9F2E
tetradic
#2E2B9F #9F2B62 #9C9F2B #2B9F68
square
#2E2B9F #9F2B62 #9C9F2B #2B9F68
split-complementary
#2E2B9F #9F682B #629F2B
monochromatic
#12113F #201E6F #2E2B9F #403DCA #706DD7

Accessibility & contrast

On white

10.70
#2E2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E2B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B9F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B9F#FFFFFF#000000##FFFFFF
##2E2B9F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2b9f;
/* rgb */ color: rgb(46, 43, 159);
/* oklch */ color: oklch(38.0% 0.180 274.8);
Tailwind
colors: {
  custom: {
    50: '#7866bd',
    500: '#2e2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b9f;
$custom-light: #7866bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b9f",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 241.552,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38047,
    "c": 0.17985,
    "h": 274.8
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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