#2E27AA#2E27AA

#2E27AA is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.197 H 274.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2E27AA
RGBrgb(46, 39, 170)
HSLhsl(243, 63%, 41%)
HSVhsv(243, 77%, 67%)
CMYKcmyk(72.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(26.54, 45.40, -68.07)
CIE-LCHlch(26.54, 81.82, 303.71°)
OKLaboklab(38.64% 0.0149 -0.1969)
OKLCHoklch(38.64% 0.197 274.3)
XYZxyz(9.1055, 4.9333, 38.4948)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27AA #A3AA27
analogous
#2761AA #2E27AA #6F27AA
triadic
#2E27AA #AA2E27 #27AA2E
tetradic
#2E27AA #AA2761 #A3AA27 #27AA6F
square
#2E27AA #AA2761 #A3AA27 #27AA6F
split-complementary
#2E27AA #AA6F27 #61AA27
monochromatic
#131046 #211C78 #2E27AA #443CD2 #746EDE

Accessibility & contrast

On white

10.57
#2E27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27AA
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27AA#FFFFFF#000000##FFFFFF
##2E27AA1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e27aa;
/* rgb */ color: rgb(46, 39, 170);
/* oklch */ color: oklch(38.6% 0.197 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b64c5',
    500: '#2e27aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e27aa;
$custom-light: #7b64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27aa",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 243.206,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38643,
    "c": 0.19746,
    "h": 274.3
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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