#2D27B3#2D27B3

#2D27B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.208 H 273.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2D27B3
RGBrgb(45, 39, 179)
HSLhsl(243, 64%, 43%)
HSVhsv(243, 78%, 70%)
CMYKcmyk(74.9%, 78.2%, 0%, 29.8%)
CIE-LABlab(27.47, 48.21, -71.93)
CIE-LCHlch(27.47, 86.60, 303.83°)
OKLaboklab(39.57% 0.0117 -0.2081)
OKLCHoklch(39.57% 0.208 273.2)
XYZxyz(9.9417, 5.2626, 43.1309)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D27B3 #ADB327
analogous
#2767B3 #2D27B3 #7327B3
triadic
#2D27B3 #B32D27 #27B32D
tetradic
#2D27B3 #B32767 #ADB327 #27B373
square
#2D27B3 #B32767 #ADB327 #27B373
split-complementary
#2D27B3 #B37327 #67B327
monochromatic
#14114E #201C81 #2D27B3 #4841D6 #7874E1

Accessibility & contrast

On white

10.23
#2D27B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D27B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D27B3
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D27B3#FFFFFF#000000##FFFFFF
##2D27B31.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d27b3;
/* rgb */ color: rgb(45, 39, 179);
/* oklch */ color: oklch(39.6% 0.208 273.2);
Tailwind
colors: {
  custom: {
    50: '#7c64cb',
    500: '#2d27b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d27b3;
$custom-light: #7c64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d27b3",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 242.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.20847,
    "h": 273.2
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#2D27B3
secondary
#C4C86E
accent
#E741E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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