#2D27AD#2D27AD

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

Color values

HEX#2D27AD
RGBrgb(45, 39, 173)
HSLhsl(243, 63%, 42%)
HSVhsv(243, 77%, 68%)
CMYKcmyk(74%, 77.5%, 0%, 32.2%)
CIE-LABlab(26.81, 46.29, -69.44)
CIE-LCHlch(26.81, 83.45, 303.69°)
OKLaboklab(38.91% 0.013 -0.2009)
OKLCHoklch(38.91% 0.201 273.7)
XYZxyz(9.3480, 5.0251, 40.0043)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D27AD #A7AD27
analogous
#2764AD #2D27AD #7027AD
triadic
#2D27AD #AD2D27 #27AD2D
tetradic
#2D27AD #AD2764 #A7AD27 #27AD70
square
#2D27AD #AD2764 #A7AD27 #27AD70
split-complementary
#2D27AD #AD7027 #64AD27
monochromatic
#131049 #201C7B #2D27AD #443ED3 #7570DF

Accessibility & contrast

On white

10.47
#2D27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D27AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D27AD
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D27AD#FFFFFF#000000##FFFFFF
##2D27AD1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d27ad;
/* rgb */ color: rgb(45, 39, 173);
/* oklch */ color: oklch(38.9% 0.201 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b64c7',
    500: '#2d27ad',
    950: '#000000',
  },
}
SCSS
$custom: #2d27ad;
$custom-light: #7b64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d27ad",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 242.687,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.20132,
    "h": 273.7
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#2D27AD
secondary
#C1C66A
accent
#E642DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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