#271973#271973

#271973 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.144 H 280.5°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#271973
RGBrgb(39, 25, 115)
HSLhsl(249, 64%, 27%)
HSVhsv(249, 78%, 45%)
CMYKcmyk(66.1%, 78.3%, 0%, 54.9%)
CIE-LABlab(17.29, 34.35, -49.11)
CIE-LCHlch(17.29, 59.94, 304.97°)
OKLaboklab(30.21% 0.0262 -0.1417)
OKLCHoklch(30.21% 0.144 280.5)
XYZxyz(4.2779, 2.3641, 16.4472)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271973 #657319
analogous
#193873 #271973 #541973
triadic
#271973 #732719 #197327
tetradic
#271973 #731938 #657319 #197354
square
#271973 #731938 #657319 #197354
split-complementary
#271973 #735419 #387319
monochromatic
#090519 #160E41 #271973 #3824A5 #4C34D3

Accessibility & contrast

On white

14.26
#271973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#271973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271973
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271973#FFFFFF#000000##FFFFFF
##2719731.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #271973;
/* rgb */ color: rgb(39, 25, 115);
/* oklch */ color: oklch(30.2% 0.144 280.5);
Tailwind
colors: {
  custom: {
    50: '#6c589c',
    500: '#271973',
    950: '#000000',
  },
}
SCSS
$custom: #271973;
$custom-light: #6c589c;
$custom-dark: #000000;
JSON
{
  "hex": "#271973",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 249.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3021,
    "c": 0.14411,
    "h": 280.5
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#271973
secondary
#98A840
accent
#E741CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #271973

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

Preview Lab → · Contrast checker → · Palette generator →

#271973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva