#2E2A60#2E2A60

#2E2A60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.093 H 283.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2E2A60
RGBrgb(46, 42, 96)
HSLhsl(244, 39%, 27%)
HSVhsv(244, 56%, 38%)
CMYKcmyk(52.1%, 56.3%, 0%, 62.4%)
CIE-LABlab(20.37, 18.11, -31.69)
CIE-LCHlch(20.37, 36.50, 299.75°)
OKLaboklab(32.08% 0.0212 -0.0903)
OKLCHoklch(32.08% 0.093 283.2)
XYZxyz(4.0654, 3.0811, 11.4446)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A60 #5C602A
analogous
#2A4160 #2E2A60 #492A60
triadic
#2E2A60 #602E2A #2A602E
tetradic
#2E2A60 #602A41 #5C602A #2A6049
square
#2E2A60 #602A41 #5C602A #2A6049
split-complementary
#2E2A60 #60492A #41602A
monochromatic
#0A0915 #1A1735 #2E2A60 #423D8B #5951B3

Accessibility & contrast

On white

12.99
#2E2A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E2A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A60
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A60#FFFFFF#000000##FFFFFF
##2E2A601.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#0B2F5F
Tritanopia (blue-blind)
#1C3640
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2a60;
/* rgb */ color: rgb(46, 42, 96);
/* oklch */ color: oklch(32.1% 0.093 283.2);
Tailwind
colors: {
  custom: {
    50: '#6b638d',
    500: '#2e2a60',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a60;
$custom-light: #6b638d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a60",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 244.444,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32078,
    "c": 0.09278,
    "h": 283.2
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#2E2A60
secondary
#8E9253
accent
#CF59C6
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E2A60

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

Preview Lab → · Contrast checker → · Palette generator →

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