#2E2B8F#2E2B8F

#2E2B8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.159 H 276.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2E2B8F
RGBrgb(46, 43, 143)
HSLhsl(242, 54%, 36%)
HSVhsv(242, 70%, 56%)
CMYKcmyk(67.8%, 69.9%, 0%, 43.9%)
CIE-LABlab(24.61, 34.00, -54.76)
CIE-LCHlch(24.61, 64.46, 301.84°)
OKLaboklab(36.44% 0.0176 -0.1581)
OKLCHoklch(36.44% 0.159 276.3)
XYZxyz(6.9469, 4.2912, 26.4435)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B8F #8C8F2B
analogous
#2B5A8F #2E2B8F #602B8F
triadic
#2E2B8F #8F2E2B #2B8F2E
tetradic
#2E2B8F #8F2B5A #8C8F2B #2B8F60
square
#2E2B8F #8F2B5A #8C8F2B #2B8F60
split-complementary
#2E2B8F #8F602B #5A8F2B
monochromatic
#100F31 #1F1D60 #2E2B8F #3D39BE #6764D0

Accessibility & contrast

On white

11.30
#2E2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B8F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B8F#FFFFFF#000000##FFFFFF
##2E2B8F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2b8f;
/* rgb */ color: rgb(46, 43, 143);
/* oklch */ color: oklch(36.4% 0.159 276.3);
Tailwind
colors: {
  custom: {
    50: '#7465b1',
    500: '#2e2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b8f;
$custom-light: #7465b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b8f",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 241.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36437,
    "c": 0.15907,
    "h": 276.3
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#2E2B8F
secondary
#B4B75F
accent
#DD4BD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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