#2E2566#2E2566

#2E2566 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.110 H 284.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2E2566
RGBrgb(46, 37, 102)
HSLhsl(248, 47%, 27%)
HSVhsv(248, 64%, 40%)
CMYKcmyk(54.9%, 63.7%, 0%, 60%)
CIE-LABlab(19.49, 23.61, -37.04)
CIE-LCHlch(19.49, 43.93, 302.51°)
OKLaboklab(31.57% 0.0275 -0.1061)
OKLCHoklch(31.57% 0.11 284.5)
XYZxyz(4.1858, 2.8631, 12.8999)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2566 #5D6625
analogous
#253C66 #2E2566 #4F2566
triadic
#2E2566 #662E25 #25662E
tetradic
#2E2566 #66253C #5D6625 #25664F
square
#2E2566 #66253C #5D6625 #25664F
split-complementary
#2E2566 #664F25 #3C6625
monochromatic
#0A0816 #1A1539 #2E2566 #423593 #5949BD

Accessibility & contrast

On white

13.35
#2E2566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E2566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2566
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2566#FFFFFF#000000##FFFFFF
##2E25661.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#183441
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2566;
/* rgb */ color: rgb(46, 37, 102);
/* oklch */ color: oklch(31.6% 0.110 284.5);
Tailwind
colors: {
  custom: {
    50: '#6c6092',
    500: '#2e2566',
    950: '#000000',
  },
}
SCSS
$custom: #2e2566;
$custom-light: #6c6092;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2566",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 248.308,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.10962,
    "h": 284.5
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#2E2566
secondary
#8F994E
accent
#D651C4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E2566

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

Preview Lab → · Contrast checker → · Palette generator →

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