#2E27AE#2E27AE

#2E27AE is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.202 H 274.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2E27AE
RGBrgb(46, 39, 174)
HSLhsl(243, 63%, 42%)
HSVhsv(243, 78%, 68%)
CMYKcmyk(73.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(26.98, 46.69, -69.75)
CIE-LCHlch(26.98, 83.94, 303.80°)
OKLaboklab(39.08% 0.0141 -0.2018)
OKLCHoklch(39.08% 0.202 274)
XYZxyz(9.4897, 5.0869, 40.5179)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27AE #A7AE27
analogous
#2764AE #2E27AE #7227AE
triadic
#2E27AE #AE2E27 #27AE2E
tetradic
#2E27AE #AE2764 #A7AE27 #27AE72
square
#2E27AE #AE2764 #A7AE27 #27AE72
split-complementary
#2E27AE #AE7227 #64AE27
monochromatic
#14114A #211C7C #2E27AE #463ED4 #7670DF

Accessibility & contrast

On white

10.41
#2E27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27AE
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27AE#FFFFFF#000000##FFFFFF
##2E27AE1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e27ae;
/* rgb */ color: rgb(46, 39, 174);
/* oklch */ color: oklch(39.1% 0.202 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c64c7',
    500: '#2e27ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e27ae;
$custom-light: #7c64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27ae",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 243.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39079,
    "c": 0.20226,
    "h": 274
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#2E27AE
secondary
#C1C66B
accent
#E641DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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