#2E27AD#2E27AD

#2E27AD is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.201 H 274.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2E27AD
RGBrgb(46, 39, 173)
HSLhsl(243, 63%, 42%)
HSVhsv(243, 77%, 68%)
CMYKcmyk(73.4%, 77.5%, 0%, 32.2%)
CIE-LABlab(26.87, 46.37, -69.33)
CIE-LCHlch(26.87, 83.41, 303.78°)
OKLaboklab(38.97% 0.0143 -0.2006)
OKLCHoklch(38.97% 0.201 274.1)
XYZxyz(9.3926, 5.0481, 40.0064)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27AD #A6AD27
analogous
#2763AD #2E27AD #7127AD
triadic
#2E27AD #AD2E27 #27AD2E
tetradic
#2E27AD #AD2763 #A6AD27 #27AD71
square
#2E27AD #AD2763 #A6AD27 #27AD71
split-complementary
#2E27AD #AD7127 #63AD27
monochromatic
#131049 #211C7B #2E27AD #463ED3 #7670DF

Accessibility & contrast

On white

10.45
#2E27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E27AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27AD
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27AD#FFFFFF#000000##FFFFFF
##2E27AD1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e27ad;
/* rgb */ color: rgb(46, 39, 173);
/* oklch */ color: oklch(39.0% 0.201 274.1);
Tailwind
colors: {
  custom: {
    50: '#7b64c7',
    500: '#2e27ad',
    950: '#000000',
  },
}
SCSS
$custom: #2e27ad;
$custom-light: #7b64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27ad",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 243.134,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.20107,
    "h": 274.1
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#2E27AD
secondary
#C1C66A
accent
#E642DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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