#2718A1#2718A1

#2718A1 is a dark, highly saturated blue. Relative luminance 0.037; OKLCH L 35.4% C 0.201 H 273.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2718A1
RGBrgb(39, 24, 161)
HSLhsl(247, 74%, 36%)
HSVhsv(247, 85%, 63%)
CMYKcmyk(75.8%, 85.1%, 0%, 36.9%)
CIE-LABlab(22.50, 49.39, -69.32)
CIE-LCHlch(22.50, 85.12, 305.47°)
OKLaboklab(35.4% 0.0135 -0.2004)
OKLCHoklch(35.4% 0.201 273.9)
XYZxyz(7.5942, 3.6570, 34.0169)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2718A1 #92A118
analogous
#184EA1 #2718A1 #6C18A1
triadic
#2718A1 #A12718 #18A127
tetradic
#2718A1 #A1184E #92A118 #18A16C
square
#2718A1 #A1184E #92A118 #18A16C
split-complementary
#2718A1 #A16C18 #4EA118
monochromatic
#0D0836 #1A106C #2718A1 #3420D6 #5F4FE5

Accessibility & contrast

On white

12.13
#2718A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2718A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2718A1
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2718A1#FFFFFF#000000##FFFFFF
##2718A11.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2718a1;
/* rgb */ color: rgb(39, 24, 161);
/* oklch */ color: oklch(35.4% 0.201 273.9);
Tailwind
colors: {
  custom: {
    50: '#775bbe',
    500: '#2718a1',
    950: '#000000',
  },
}
SCSS
$custom: #2718a1;
$custom-light: #775bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2718a1",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 246.569,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35404,
    "c": 0.20091,
    "h": 273.9
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#2718A1
secondary
#BAC74E
accent
#F137DC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2718A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2718A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva