#2E2D7F#2E2D7F

#2E2D7F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.135 H 277.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2E2D7F
RGBrgb(46, 45, 127)
HSLhsl(241, 48%, 34%)
HSVhsv(241, 65%, 50%)
CMYKcmyk(63.8%, 64.6%, 0%, 50.2%)
CIE-LABlab(23.64, 27.07, -46.35)
CIE-LCHlch(23.64, 53.68, 300.28°)
OKLaboklab(35.28% 0.0176 -0.1334)
OKLCHoklch(35.28% 0.135 277.5)
XYZxyz(5.8946, 3.9895, 20.5340)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D7F #7E7F2D
analogous
#2D557F #2E2D7F #572D7F
triadic
#2E2D7F #7F2E2D #2D7F2E
tetradic
#2E2D7F #7F2D55 #7E7F2D #2D7F57
square
#2E2D7F #7F2D55 #7E7F2D #2D7F57
split-complementary
#2E2D7F #7F572D #557F2D
monochromatic
#0D0D25 #1E1D52 #2E2D7F #3E3DAC #6160C7

Accessibility & contrast

On white

11.68
#2E2D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D7F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D7F#FFFFFF#000000##FFFFFF
##2E2D7F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2d7f;
/* rgb */ color: rgb(46, 45, 127);
/* oklch */ color: oklch(35.3% 0.135 277.5);
Tailwind
colors: {
  custom: {
    50: '#7166a5',
    500: '#2e2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d7f;
$custom-light: #7166a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d7f",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 240.732,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.13459,
    "h": 277.5
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#2E2D7F
secondary
#ACAD5B
accent
#D751D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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