#2E2A63#2E2A63

#2E2A63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.097 H 282.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2E2A63
RGBrgb(46, 42, 99)
HSLhsl(244, 40%, 28%)
HSVhsv(244, 58%, 39%)
CMYKcmyk(53.5%, 57.6%, 0%, 61.2%)
CIE-LABlab(20.59, 19.16, -33.30)
CIE-LCHlch(20.59, 38.42, 299.91°)
OKLaboklab(32.31% 0.0213 -0.0951)
OKLCHoklch(32.31% 0.097 282.6)
XYZxyz(4.2061, 3.1374, 12.1859)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A63 #5F632A
analogous
#2A4263 #2E2A63 #4B2A63
triadic
#2E2A63 #632E2A #2A632E
tetradic
#2E2A63 #632A42 #5F632A #2A634B
square
#2E2A63 #632A42 #5F632A #2A634B
split-complementary
#2E2A63 #634B2A #42632A
monochromatic
#0A0915 #1A1838 #2E2A63 #423C8E #5952B6

Accessibility & contrast

On white

12.90
#2E2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A63
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A63#FFFFFF#000000##FFFFFF
##2E2A631.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3365
Deuteranopia (green-blind)
#053062
Tritanopia (blue-blind)
#1A3742
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2a63;
/* rgb */ color: rgb(46, 42, 99);
/* oklch */ color: oklch(32.3% 0.097 282.6);
Tailwind
colors: {
  custom: {
    50: '#6b6390',
    500: '#2e2a63',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a63;
$custom-light: #6b6390;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a63",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 244.211,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.09744,
    "h": 282.6
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#2E2A63
secondary
#919553
accent
#D058C8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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