#2E2569#2E2569

#2E2569 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.8% C 0.114 H 283.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2569
RGBrgb(46, 37, 105)
HSLhsl(248, 48%, 28%)
HSVhsv(248, 65%, 41%)
CMYKcmyk(56.2%, 64.8%, 0%, 58.8%)
CIE-LABlab(19.74, 24.64, -38.60)
CIE-LCHlch(19.74, 45.79, 302.55°)
OKLaboklab(31.84% 0.0273 -0.1107)
OKLCHoklch(31.84% 0.114 283.9)
XYZxyz(4.3373, 2.9237, 13.6976)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2569 #606925
analogous
#253E69 #2E2569 #502569
triadic
#2E2569 #692E25 #25692E
tetradic
#2E2569 #69253E #606925 #256950
square
#2E2569 #69253E #606925 #256950
split-complementary
#2E2569 #695025 #3E6925
monochromatic
#0A0817 #1A153C #2E2569 #423596 #5949BF

Accessibility & contrast

On white

13.25
#2E2569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E2569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2569
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2569#FFFFFF#000000##FFFFFF
##2E25691.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#153543
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2569;
/* rgb */ color: rgb(46, 37, 105);
/* oklch */ color: oklch(31.8% 0.114 283.9);
Tailwind
colors: {
  custom: {
    50: '#6d6094',
    500: '#2e2569',
    950: '#000000',
  },
}
SCSS
$custom: #2e2569;
$custom-light: #6d6094;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2569",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 105
  },
  "hsl": {
    "h": 247.941,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31835,
    "c": 0.11401,
    "h": 283.9
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#2E2569
secondary
#929C4E
accent
#D750C6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E2569

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

Preview Lab → · Contrast checker → · Palette generator →

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