#271A69#271A69

#271A69 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.130 H 282.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#271A69
RGBrgb(39, 26, 105)
HSLhsl(250, 60%, 26%)
HSVhsv(250, 75%, 41%)
CMYKcmyk(62.9%, 75.2%, 0%, 58.8%)
CIE-LABlab(16.45, 30.41, -43.99)
CIE-LCHlch(16.45, 53.48, 304.66°)
OKLaboklab(29.3% 0.0278 -0.1267)
OKLCHoklch(29.3% 0.13 282.4)
XYZxyz(3.7551, 2.1898, 13.5867)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A69 #5C691A
analogous
#1A3569 #271A69 #4E1A69
triadic
#271A69 #69271A #1A6927
tetradic
#271A69 #691A35 #5C691A #1A694E
square
#271A69 #691A35 #5C691A #1A694E
split-complementary
#271A69 #694E1A #35691A
monochromatic
#090619 #150E38 #271A69 #39269A #4B32CB

Accessibility & contrast

On white

14.60
#271A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#271A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271A69
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A69#FFFFFF#000000##FFFFFF
##271A691.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #271a69;
/* rgb */ color: rgb(39, 26, 105);
/* oklch */ color: oklch(29.3% 0.130 282.4);
Tailwind
colors: {
  custom: {
    50: '#6a5895',
    500: '#271a69',
    950: '#000000',
  },
}
SCSS
$custom: #271a69;
$custom-light: #6a5895;
$custom-dark: #000000;
JSON
{
  "hex": "#271a69",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 249.873,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29298,
    "c": 0.12976,
    "h": 282.4
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#271A69
secondary
#8F9E40
accent
#E344C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271A69

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

Preview Lab → · Contrast checker → · Palette generator →

#271A69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva