#2B27AD#2B27AD

#2B27AD is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.202 H 273.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2B27AD
RGBrgb(43, 39, 173)
HSLhsl(242, 63%, 42%)
HSVhsv(242, 77%, 68%)
CMYKcmyk(75.1%, 77.5%, 0%, 32.2%)
CIE-LABlab(26.68, 46.12, -69.65)
CIE-LCHlch(26.68, 83.54, 303.51°)
OKLaboklab(38.78% 0.0106 -0.2016)
OKLCHoklch(38.78% 0.202 273)
XYZxyz(9.2621, 4.9808, 40.0003)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B27AD #A9AD27
analogous
#2766AD #2B27AD #6E27AD
triadic
#2B27AD #AD2B27 #27AD2B
tetradic
#2B27AD #AD2766 #A9AD27 #27AD6E
square
#2B27AD #AD2766 #A9AD27 #27AD6E
split-complementary
#2B27AD #AD6E27 #66AD27
monochromatic
#121049 #1F1C7B #2B27AD #423ED3 #7370DF

Accessibility & contrast

On white

10.52
#2B27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B27AD
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B27AD#FFFFFF#000000##FFFFFF
##2B27AD1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b27ad;
/* rgb */ color: rgb(43, 39, 173);
/* oklch */ color: oklch(38.8% 0.202 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a64c7',
    500: '#2b27ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b27ad;
$custom-light: #7a64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b27ad",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 241.791,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.20184,
    "h": 273
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#2B27AD
secondary
#C3C66A
accent
#E642E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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