#2E2B88#2E2B88

#2E2B88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.150 H 277.1°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2E2B88
RGBrgb(46, 43, 136)
HSLhsl(242, 52%, 35%)
HSVhsv(242, 68%, 53%)
CMYKcmyk(66.2%, 68.4%, 0%, 46.7%)
CIE-LABlab(23.95, 31.56, -51.49)
CIE-LCHlch(23.95, 60.39, 301.50°)
OKLaboklab(35.76% 0.0185 -0.1485)
OKLCHoklch(35.76% 0.15 277.1)
XYZxyz(6.4331, 4.0856, 23.7374)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B88 #85882B
analogous
#2B5788 #2E2B88 #5C2B88
triadic
#2E2B88 #882E2B #2B882E
tetradic
#2E2B88 #882B57 #85882B #2B885C
square
#2E2B88 #882B57 #85882B #2B885C
split-complementary
#2E2B88 #885C2B #57882B
monochromatic
#0F0E2B #1E1C5A #2E2B88 #3E3AB6 #6461CD

Accessibility & contrast

On white

11.56
#2E2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B88
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B88#FFFFFF#000000##FFFFFF
##2E2B881.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2b88;
/* rgb */ color: rgb(46, 43, 136);
/* oklch */ color: oklch(35.8% 0.150 277.1);
Tailwind
colors: {
  custom: {
    50: '#7365ac',
    500: '#2e2b88',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b88;
$custom-light: #7365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b88",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 241.935,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35759,
    "c": 0.14965,
    "h": 277.1
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#2E2B88
secondary
#B0B35C
accent
#DB4CD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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