#2E2765#2E2765

#2E2765 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.105 H 283.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2765
RGBrgb(46, 39, 101)
HSLhsl(247, 44%, 27%)
HSVhsv(247, 61%, 40%)
CMYKcmyk(54.5%, 61.4%, 0%, 60.4%)
CIE-LABlab(19.93, 21.91, -35.67)
CIE-LCHlch(19.93, 41.87, 301.56°)
OKLaboklab(31.87% 0.0251 -0.1021)
OKLCHoklch(31.87% 0.105 283.8)
XYZxyz(4.2005, 2.9712, 12.6616)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2765 #5E6527
analogous
#273F65 #2E2765 #4D2765
triadic
#2E2765 #652E27 #27652E
tetradic
#2E2765 #65273F #5E6527 #27654D
square
#2E2765 #65273F #5E6527 #27654D
split-complementary
#2E2765 #654D27 #3F6527
monochromatic
#0A0916 #1A1639 #2E2765 #423891 #594CBA

Accessibility & contrast

On white

13.17
#2E2765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E2765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2765
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2765#FFFFFF#000000##FFFFFF
##2E27651.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#193542
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2765;
/* rgb */ color: rgb(46, 39, 101);
/* oklch */ color: oklch(31.9% 0.105 283.8);
Tailwind
colors: {
  custom: {
    50: '#6c6191',
    500: '#2e2765',
    950: '#000000',
  },
}
SCSS
$custom: #2e2765;
$custom-light: #6c6191;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2765",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 246.774,
    "s": 44.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.10512,
    "h": 283.8
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#2E2765
secondary
#909850
accent
#D454C6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E2765

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

Preview Lab → · Contrast checker → · Palette generator →

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