#2E2B85#2E2B85

#2E2B85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.146 H 277.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2E2B85
RGBrgb(46, 43, 133)
HSLhsl(242, 51%, 35%)
HSVhsv(242, 68%, 52%)
CMYKcmyk(65.4%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.68, 30.50, -50.06)
CIE-LCHlch(23.68, 58.62, 301.35°)
OKLaboklab(35.47% 0.0189 -0.1443)
OKLCHoklch(35.47% 0.146 277.4)
XYZxyz(6.2229, 4.0015, 22.6302)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B85 #82852B
analogous
#2B5585 #2E2B85 #5B2B85
triadic
#2E2B85 #852E2B #2B852E
tetradic
#2E2B85 #852B55 #82852B #2B855B
square
#2E2B85 #852B55 #82852B #2B855B
split-complementary
#2E2B85 #855B2B #55852B
monochromatic
#0E0D29 #1E1C57 #2E2B85 #3E3AB3 #635FCB

Accessibility & contrast

On white

11.66
#2E2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B85
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B85#FFFFFF#000000##FFFFFF
##2E2B851.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2b85;
/* rgb */ color: rgb(46, 43, 133);
/* oklch */ color: oklch(35.5% 0.146 277.4);
Tailwind
colors: {
  custom: {
    50: '#7265a9',
    500: '#2e2b85',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b85;
$custom-light: #7265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b85",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 242,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35474,
    "c": 0.14556,
    "h": 277.4
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#2E2B85
secondary
#AEB15B
accent
#DB4DD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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