#2E27B3#2E27B3

#2E27B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.208 H 273.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2E27B3
RGBrgb(46, 39, 179)
HSLhsl(243, 64%, 43%)
HSVhsv(243, 78%, 70%)
CMYKcmyk(74.3%, 78.2%, 0%, 29.8%)
CIE-LABlab(27.53, 48.29, -71.83)
CIE-LCHlch(27.53, 86.55, 303.91°)
OKLaboklab(39.63% 0.0129 -0.2078)
OKLCHoklch(39.63% 0.208 273.6)
XYZxyz(9.9862, 5.2855, 43.1330)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27B3 #ACB327
analogous
#2766B3 #2E27B3 #7427B3
triadic
#2E27B3 #B32E27 #27B32E
tetradic
#2E27B3 #B32766 #ACB327 #27B374
square
#2E27B3 #B32766 #ACB327 #27B374
split-complementary
#2E27B3 #B37427 #66B327
monochromatic
#14114E #211C81 #2E27B3 #4941D6 #7974E1

Accessibility & contrast

On white

10.21
#2E27B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E27B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27B3
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27B3#FFFFFF#000000##FFFFFF
##2E27B31.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e27b3;
/* rgb */ color: rgb(46, 39, 179);
/* oklch */ color: oklch(39.6% 0.208 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d64cb',
    500: '#2e27b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e27b3;
$custom-light: #7d64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27b3",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 243,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.20821,
    "h": 273.6
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#2E27B3
secondary
#C3C86E
accent
#E741DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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