#2B27B0#2B27B0

#2B27B0 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.205 H 272.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2B27B0
RGBrgb(43, 39, 176)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 69%)
CMYKcmyk(75.6%, 77.8%, 0%, 31%)
CIE-LABlab(27.01, 47.09, -70.90)
CIE-LCHlch(27.01, 85.12, 303.59°)
OKLaboklab(39.12% 0.0099 -0.2052)
OKLCHoklch(39.12% 0.205 272.8)
XYZxyz(9.5556, 5.0982, 41.5463)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B27B0 #ACB027
analogous
#2767B0 #2B27B0 #7027B0
triadic
#2B27B0 #B02B27 #27B02B
tetradic
#2B27B0 #B02767 #ACB027 #27B070
square
#2B27B0 #B02767 #ACB027 #27B070
split-complementary
#2B27B0 #B07027 #67B027
monochromatic
#13114C #1F1C7E #2B27B0 #4440D5 #7572E0

Accessibility & contrast

On white

10.40
#2B27B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B27B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B27B0
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B27B0#FFFFFF#000000##FFFFFF
##2B27B01.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b27b0;
/* rgb */ color: rgb(43, 39, 176);
/* oklch */ color: oklch(39.1% 0.205 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b64c9',
    500: '#2b27b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b27b0;
$custom-light: #7b64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b27b0",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 241.752,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.20543,
    "h": 272.8
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#2B27B0
secondary
#C4C76C
accent
#E741E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B27B0

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

Preview Lab → · Contrast checker → · Palette generator →

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