#2E27AF#2E27AF

#2E27AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.203 H 273.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2E27AF
RGBrgb(46, 39, 175)
HSLhsl(243, 64%, 42%)
HSVhsv(243, 78%, 69%)
CMYKcmyk(73.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(27.09, 47.01, -70.17)
CIE-LCHlch(27.09, 84.46, 303.82°)
OKLaboklab(39.19% 0.0138 -0.203)
OKLCHoklch(39.19% 0.203 273.9)
XYZxyz(9.5875, 5.1261, 41.0333)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27AF #A8AF27
analogous
#2764AF #2E27AF #7227AF
triadic
#2E27AF #AF2E27 #27AF2E
tetradic
#2E27AF #AF2764 #A8AF27 #27AF72
square
#2E27AF #AF2764 #A8AF27 #27AF72
split-complementary
#2E27AF #AF7227 #64AF27
monochromatic
#14114B #211C7D #2E27AF #473FD4 #7771DF

Accessibility & contrast

On white

10.37
#2E27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E27AF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27AF#FFFFFF#000000##FFFFFF
##2E27AF1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e27af;
/* rgb */ color: rgb(46, 39, 175);
/* oklch */ color: oklch(39.2% 0.203 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c64c8',
    500: '#2e27af',
    950: '#000000',
  },
}
SCSS
$custom: #2e27af;
$custom-light: #7c64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27af",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 243.088,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.20346,
    "h": 273.9
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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