#2E2A64#2E2A64

#2E2A64 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.099 H 282.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2E2A64
RGBrgb(46, 42, 100)
HSLhsl(244, 41%, 28%)
HSVhsv(244, 58%, 39%)
CMYKcmyk(54%, 58%, 0%, 60.8%)
CIE-LABlab(20.66, 19.51, -33.84)
CIE-LCHlch(20.66, 39.06, 299.96°)
OKLaboklab(32.39% 0.0214 -0.0966)
OKLCHoklch(32.39% 0.099 282.5)
XYZxyz(4.2542, 3.1566, 12.4392)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A64 #60642A
analogous
#2A4364 #2E2A64 #4B2A64
triadic
#2E2A64 #642E2A #2A642E
tetradic
#2E2A64 #642A43 #60642A #2A644B
square
#2E2A64 #642A43 #60642A #2A644B
split-complementary
#2E2A64 #644B2A #43642A
monochromatic
#0A0916 #1A1839 #2E2A64 #423C8F #5952B6

Accessibility & contrast

On white

12.87
#2E2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A64
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A64#FFFFFF#000000##FFFFFF
##2E2A641.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083466
Deuteranopia (green-blind)
#033063
Tritanopia (blue-blind)
#193742
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2a64;
/* rgb */ color: rgb(46, 42, 100);
/* oklch */ color: oklch(32.4% 0.099 282.5);
Tailwind
colors: {
  custom: {
    50: '#6c6391',
    500: '#2e2a64',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a64;
$custom-light: #6c6391;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a64",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 244.138,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.09898,
    "h": 282.5
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#2E2A64
secondary
#929653
accent
#D157C8
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2E2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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