#2E27B8#2E27B8

#2E27B8 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.214 H 273.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2E27B8
RGBrgb(46, 39, 184)
HSLhsl(243, 65%, 44%)
HSVhsv(243, 79%, 72%)
CMYKcmyk(75%, 78.8%, 0%, 27.8%)
CIE-LABlab(28.09, 49.87, -73.88)
CIE-LCHlch(28.09, 89.14, 304.02°)
OKLaboklab(40.18% 0.0118 -0.2138)
OKLCHoklch(40.18% 0.214 273.2)
XYZxyz(10.5011, 5.4915, 45.8446)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E27B8 #B1B827
analogous
#2768B8 #2E27B8 #7627B8
triadic
#2E27B8 #B82E27 #27B82E
tetradic
#2E27B8 #B82768 #B1B827 #27B876
square
#2E27B8 #B82768 #B1B827 #27B876
split-complementary
#2E27B8 #B87627 #68B827
monochromatic
#151253 #211C86 #2E27B8 #4C45D8 #7C77E2

Accessibility & contrast

On white

10.01
#2E27B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E27B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E27B8
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E27B8#FFFFFF#000000##FFFFFF
##2E27B81.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BC
Deuteranopia (green-blind)
#003BB6
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e27b8;
/* rgb */ color: rgb(46, 39, 184);
/* oklch */ color: oklch(40.2% 0.214 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e64cf',
    500: '#2e27b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e27b8;
$custom-light: #7e64cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e27b8",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 242.897,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.2141,
    "h": 273.2
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#2E27B8
secondary
#C6CA71
accent
#E840E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E27B8

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

Preview Lab → · Contrast checker → · Palette generator →

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