#2E2763#2E2763

#2E2763 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.102 H 284.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2E2763
RGBrgb(46, 39, 99)
HSLhsl(247, 43%, 27%)
HSVhsv(247, 61%, 39%)
CMYKcmyk(53.5%, 60.6%, 0%, 61.2%)
CIE-LABlab(19.77, 21.22, -34.62)
CIE-LCHlch(19.77, 40.60, 301.51°)
OKLaboklab(31.71% 0.0251 -0.099)
OKLCHoklch(31.71% 0.102 284.2)
XYZxyz(4.1037, 2.9325, 12.1518)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2763 #5C6327
analogous
#273E63 #2E2763 #4C2763
triadic
#2E2763 #632E27 #27632E
tetradic
#2E2763 #63273E #5C6327 #27634C
square
#2E2763 #63273E #5C6327 #27634C
split-complementary
#2E2763 #634C27 #3E6327
monochromatic
#0A0916 #1A1637 #2E2763 #42388F #594CB8

Accessibility & contrast

On white

13.24
#2E2763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2763
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2763#FFFFFF#000000##FFFFFF
##2E27631.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003265
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#1A3541
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2763;
/* rgb */ color: rgb(46, 39, 99);
/* oklch */ color: oklch(31.7% 0.102 284.2);
Tailwind
colors: {
  custom: {
    50: '#6c6190',
    500: '#2e2763',
    950: '#000000',
  },
}
SCSS
$custom: #2e2763;
$custom-light: #6c6190;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2763",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 99
  },
  "hsl": {
    "h": 247,
    "s": 43.478,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31708,
    "c": 0.1021,
    "h": 284.2
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#2E2763
secondary
#8E9650
accent
#D355C4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E2763

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

Preview Lab → · Contrast checker → · Palette generator →

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