#2E2A6D#2E2A6D

#2E2A6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.113 H 281.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2E2A6D
RGBrgb(46, 42, 109)
HSLhsl(244, 44%, 30%)
HSVhsv(244, 61%, 43%)
CMYKcmyk(57.8%, 61.5%, 0%, 57.3%)
CIE-LABlab(21.36, 22.67, -38.56)
CIE-LCHlch(21.36, 44.73, 300.46°)
OKLaboklab(33.13% 0.0215 -0.1105)
OKLCHoklch(33.13% 0.113 281)
XYZxyz(4.7141, 3.3406, 14.8614)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A6D #696D2A
analogous
#2A486D #2E2A6D #502A6D
triadic
#2E2A6D #6D2E2A #2A6D2E
tetradic
#2E2A6D #6D2A48 #696D2A #2A6D50
square
#2E2A6D #6D2A48 #696D2A #2A6D50
split-complementary
#2E2A6D #6D502A #486D2A
monochromatic
#090916 #1B1941 #2E2A6D #413B99 #5A54BD

Accessibility & contrast

On white

12.59
#2E2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A6D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A6D#FFFFFF#000000##FFFFFF
##2E2A6D1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#103A47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2a6d;
/* rgb */ color: rgb(46, 42, 109);
/* oklch */ color: oklch(33.1% 0.113 281.0);
Tailwind
colors: {
  custom: {
    50: '#6d6397',
    500: '#2e2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a6d;
$custom-light: #6d6397;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a6d",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 243.582,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33133,
    "c": 0.11262,
    "h": 281
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#2E2A6D
secondary
#9B9F54
accent
#D454CC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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