#2E27B0#2E27B0

#2E27B0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.205 H 273.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2E27B0
RGBrgb(46, 39, 176)
HSLhsl(243, 64%, 42%)
HSVhsv(243, 78%, 69%)
CMYKcmyk(73.9%, 77.8%, 0%, 31%)
CIE-LABlab(27.20, 47.33, -70.58)
CIE-LCHlch(27.20, 84.99, 303.85°)
OKLaboklab(39.3% 0.0136 -0.2042)
OKLCHoklch(39.3% 0.205 273.8)
XYZxyz(9.6861, 5.1655, 41.5524)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27B0 #A9B027
analogous
#2764B0 #2E27B0 #7327B0
triadic
#2E27B0 #B02E27 #27B02E
tetradic
#2E27B0 #B02764 #A9B027 #27B073
square
#2E27B0 #B02764 #A9B027 #27B073
split-complementary
#2E27B0 #B07327 #64B027
monochromatic
#14114C #211C7E #2E27B0 #4740D5 #7772E0

Accessibility & contrast

On white

10.33
#2E27B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E27B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27B0
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27B0#FFFFFF#000000##FFFFFF
##2E27B01.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e27b0;
/* rgb */ color: rgb(46, 39, 176);
/* oklch */ color: oklch(39.3% 0.205 273.8);
Tailwind
colors: {
  custom: {
    50: '#7c64c9',
    500: '#2e27b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e27b0;
$custom-light: #7c64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27b0",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 243.066,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39298,
    "c": 0.20465,
    "h": 273.8
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#2E27B0
secondary
#C2C76C
accent
#E741DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E27B0

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

Preview Lab → · Contrast checker → · Palette generator →

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