#2E2663#2E2663

#2E2663 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.104 H 284.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2E2663
RGBrgb(46, 38, 99)
HSLhsl(248, 45%, 27%)
HSVhsv(248, 62%, 39%)
CMYKcmyk(53.5%, 61.6%, 0%, 61.2%)
CIE-LABlab(19.51, 21.90, -35.05)
CIE-LCHlch(19.51, 41.33, 302.00°)
OKLaboklab(31.51% 0.0264 -0.1002)
OKLCHoklch(31.51% 0.104 284.7)
XYZxyz(4.0713, 2.8677, 12.1410)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2663 #5B6326
analogous
#263D63 #2E2663 #4D2663
triadic
#2E2663 #632E26 #26632E
tetradic
#2E2663 #63263D #5B6326 #26634D
square
#2E2663 #63263D #5B6326 #26634D
split-complementary
#2E2663 #634D26 #3D6326
monochromatic
#0A0816 #191537 #2E2663 #43378F #594AB9

Accessibility & contrast

On white

13.35
#2E2663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E2663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2663
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2663#FFFFFF#000000##FFFFFF
##2E26631.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#1A3440
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2663;
/* rgb */ color: rgb(46, 38, 99);
/* oklch */ color: oklch(31.5% 0.104 284.7);
Tailwind
colors: {
  custom: {
    50: '#6c6090',
    500: '#2e2663',
    950: '#000000',
  },
}
SCSS
$custom: #2e2663;
$custom-light: #6c6090;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2663",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 247.869,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31512,
    "c": 0.10364,
    "h": 284.7
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#2E2663
secondary
#8D964F
accent
#D454C3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E2663

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

Preview Lab → · Contrast checker → · Palette generator →

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