#2E27AC#2E27AC

#2E27AC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.200 H 274.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2E27AC
RGBrgb(46, 39, 172)
HSLhsl(243, 63%, 41%)
HSVhsv(243, 77%, 67%)
CMYKcmyk(73.3%, 77.3%, 0%, 32.5%)
CIE-LABlab(26.76, 46.05, -68.91)
CIE-LCHlch(26.76, 82.88, 303.75°)
OKLaboklab(38.86% 0.0145 -0.1993)
OKLCHoklch(38.86% 0.2 274.2)
XYZxyz(9.2962, 5.0095, 39.4987)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27AC #A5AC27
analogous
#2763AC #2E27AC #7127AC
triadic
#2E27AC #AC2E27 #27AC2E
tetradic
#2E27AC #AC2763 #A5AC27 #27AC71
square
#2E27AC #AC2763 #A5AC27 #27AC71
split-complementary
#2E27AC #AC7127 #63AC27
monochromatic
#131048 #211C7A #2E27AC #453DD3 #756FDE

Accessibility & contrast

On white

10.49
#2E27AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E27AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27AC
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27AC#FFFFFF#000000##FFFFFF
##2E27AC1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e27ac;
/* rgb */ color: rgb(46, 39, 172);
/* oklch */ color: oklch(38.9% 0.200 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b64c6',
    500: '#2e27ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e27ac;
$custom-light: #7b64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27ac",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 243.158,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.19987,
    "h": 274.2
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#2E27AC
secondary
#C0C56A
accent
#E642DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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