#2E27A9#2E27A9

#2E27A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.196 H 274.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2E27A9
RGBrgb(46, 39, 169)
HSLhsl(243, 63%, 41%)
HSVhsv(243, 77%, 66%)
CMYKcmyk(72.8%, 76.9%, 0%, 33.7%)
CIE-LABlab(26.44, 45.08, -67.65)
CIE-LCHlch(26.44, 81.29, 303.68°)
OKLaboklab(38.53% 0.0152 -0.1957)
OKLCHoklch(38.53% 0.196 274.4)
XYZxyz(9.0113, 4.8956, 37.9985)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27A9 #A2A927
analogous
#2761A9 #2E27A9 #6F27A9
triadic
#2E27A9 #A92E27 #27A92E
tetradic
#2E27A9 #A92761 #A2A927 #27A96F
square
#2E27A9 #A92761 #A2A927 #27A96F
split-complementary
#2E27A9 #A96F27 #61A927
monochromatic
#131046 #201C77 #2E27A9 #433BD2 #736DDD

Accessibility & contrast

On white

10.61
#2E27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E27A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27A9
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27A9#FFFFFF#000000##FFFFFF
##2E27A91.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e27a9;
/* rgb */ color: rgb(46, 39, 169);
/* oklch */ color: oklch(38.5% 0.196 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a64c4',
    500: '#2e27a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e27a9;
$custom-light: #7a64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27a9",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 243.231,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.19625,
    "h": 274.4
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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