#2D27B6#2D27B6

#2D27B6 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.212 H 273.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2D27B6
RGBrgb(45, 39, 182)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 71%)
CMYKcmyk(75.3%, 78.6%, 0%, 28.6%)
CIE-LABlab(27.81, 49.16, -73.17)
CIE-LCHlch(27.81, 88.15, 303.90°)
OKLaboklab(39.9% 0.011 -0.2117)
OKLCHoklch(39.9% 0.212 273)
XYZxyz(10.2484, 5.3853, 44.7462)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D27B6 #B0B627
analogous
#2769B6 #2D27B6 #7427B6
triadic
#2D27B6 #B62D27 #27B62D
tetradic
#2D27B6 #B62769 #B0B627 #27B674
square
#2D27B6 #B62769 #B0B627 #27B674
split-complementary
#2D27B6 #B67427 #69B627
monochromatic
#141151 #211C84 #2D27B6 #4A43D7 #7A76E2

Accessibility & contrast

On white

10.11
#2D27B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D27B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D27B6
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D27B6#FFFFFF#000000##FFFFFF
##2D27B61.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003BB4
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d27b6;
/* rgb */ color: rgb(45, 39, 182);
/* oklch */ color: oklch(39.9% 0.212 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d64cd',
    500: '#2d27b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d27b6;
$custom-light: #7d64cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d27b6",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 242.517,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.21201,
    "h": 273
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#2D27B6
secondary
#C5C970
accent
#E840E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D27B6

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

Preview Lab → · Contrast checker → · Palette generator →

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