#2B27AE#2B27AE

#2B27AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.203 H 272.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2B27AE
RGBrgb(43, 39, 174)
HSLhsl(242, 63%, 42%)
HSVhsv(242, 78%, 68%)
CMYKcmyk(75.3%, 77.6%, 0%, 31.8%)
CIE-LABlab(26.79, 46.45, -70.07)
CIE-LCHlch(26.79, 84.07, 303.54°)
OKLaboklab(38.9% 0.0104 -0.2028)
OKLCHoklch(38.9% 0.203 272.9)
XYZxyz(9.3592, 5.0196, 40.5118)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B27AE #AAAE27
analogous
#2767AE #2B27AE #6F27AE
triadic
#2B27AE #AE2B27 #27AE2B
tetradic
#2B27AE #AE2767 #AAAE27 #27AE6F
square
#2B27AE #AE2767 #AAAE27 #27AE6F
split-complementary
#2B27AE #AE6F27 #67AE27
monochromatic
#12114A #1F1C7C #2B27AE #433ED4 #7470DF

Accessibility & contrast

On white

10.48
#2B27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B27AE
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B27AE#FFFFFF#000000##FFFFFF
##2B27AE1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b27ae;
/* rgb */ color: rgb(43, 39, 174);
/* oklch */ color: oklch(38.9% 0.203 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b64c8',
    500: '#2b27ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b27ae;
$custom-light: #7b64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b27ae",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 241.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.20303,
    "h": 272.9
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#2B27AE
secondary
#C3C66B
accent
#E641E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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