#2E2B8C#2E2B8C

#2E2B8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.155 H 276.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2E2B8C
RGBrgb(46, 43, 140)
HSLhsl(242, 53%, 36%)
HSVhsv(242, 69%, 55%)
CMYKcmyk(67.1%, 69.3%, 0%, 45.1%)
CIE-LABlab(24.33, 32.96, -53.37)
CIE-LCHlch(24.33, 62.72, 301.70°)
OKLaboklab(36.14% 0.018 -0.154)
OKLCHoklch(36.14% 0.155 276.7)
XYZxyz(6.7227, 4.2015, 25.2625)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B8C #898C2B
analogous
#2B588C #2E2B8C #5E2B8C
triadic
#2E2B8C #8C2E2B #2B8C2E
tetradic
#2E2B8C #8C2B58 #898C2B #2B8C5E
square
#2E2B8C #8C2B58 #898C2B #2B8C5E
split-complementary
#2E2B8C #8C5E2B #588C2B
monochromatic
#0F0E2E #1F1D5D #2E2B8C #3D39BB #6662CF

Accessibility & contrast

On white

11.41
#2E2B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B8C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B8C#FFFFFF#000000##FFFFFF
##2E2B8C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2b8c;
/* rgb */ color: rgb(46, 43, 140);
/* oklch */ color: oklch(36.1% 0.155 276.7);
Tailwind
colors: {
  custom: {
    50: '#7465af',
    500: '#2e2b8c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b8c;
$custom-light: #7465af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b8c",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 241.856,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.15506,
    "h": 276.7
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#2E2B8C
secondary
#B2B55E
accent
#DC4BD8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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