#2E2463#2E2463

#2E2463 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.1% C 0.107 H 285.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#2E2463
RGBrgb(46, 36, 99)
HSLhsl(250, 47%, 26%)
HSVhsv(250, 64%, 39%)
CMYKcmyk(53.5%, 63.6%, 0%, 61.2%)
CIE-LABlab(18.98, 23.25, -35.89)
CIE-LCHlch(18.98, 42.76, 302.94°)
OKLaboklab(31.13% 0.0288 -0.1027)
OKLCHoklch(31.13% 0.107 285.7)
XYZxyz(4.0091, 2.7433, 12.1202)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2463 #596324
analogous
#243A63 #2E2463 #4E2463
triadic
#2E2463 #632E24 #24632E
tetradic
#2E2463 #63243A #596324 #24634E
square
#2E2463 #63243A #596324 #24634E
split-complementary
#2E2463 #634E24 #3A6324
monochromatic
#0A0816 #191436 #2E2463 #433490 #5846BC

Accessibility & contrast

On white

13.56
#2E2463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2E2463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2463
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2463#FFFFFF#000000##FFFFFF
##2E24631.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#1A333F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2463;
/* rgb */ color: rgb(46, 36, 99);
/* oklch */ color: oklch(31.1% 0.107 285.7);
Tailwind
colors: {
  custom: {
    50: '#6c5f90',
    500: '#2e2463',
    950: '#000000',
  },
}
SCSS
$custom: #2e2463;
$custom-light: #6c5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2463",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 249.524,
    "s": 46.667,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.10668,
    "h": 285.7
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#2E2463
secondary
#8B964C
accent
#D651C1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2E2463

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

Preview Lab → · Contrast checker → · Palette generator →

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