#101271#101271

#101271 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.154 H 269.5°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#101271
RGBrgb(16, 18, 113)
HSLhsl(239, 75%, 25%)
HSVhsv(239, 86%, 44%)
CMYKcmyk(85.8%, 84.1%, 0%, 55.7%)
CIE-LABlab(14.03, 35.47, -53.27)
CIE-LCHlch(14.03, 64.00, 303.66°)
OKLaboklab(27.42% -0.0015 -0.1543)
OKLCHoklch(27.42% 0.154 269.5)
XYZxyz(3.4096, 1.7346, 15.7747)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101271 #716F10
analogous
#104271 #101271 #3E1071
triadic
#101271 #711012 #127110
tetradic
#101271 #711042 #716F10 #10713E
square
#101271 #711042 #716F10 #10713E
split-complementary
#101271 #713E10 #427110
monochromatic
#04041B #08093B #101271 #181BA7 #1F23DC

Accessibility & contrast

On white

15.59
#101271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#101271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101271
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101271#FFFFFF#000000##FFFFFF
##1012711.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #101271;
/* rgb */ color: rgb(16, 18, 113);
/* oklch */ color: oklch(27.4% 0.154 269.5);
Tailwind
colors: {
  custom: {
    50: '#64529b',
    500: '#101271',
    950: '#000000',
  },
}
SCSS
$custom: #101271;
$custom-light: #64529b;
$custom-dark: #000000;
JSON
{
  "hex": "#101271",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 238.763,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27417,
    "c": 0.15428,
    "h": 269.5
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#101271
secondary
#A9A634
accent
#EE36F2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #101271

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

Preview Lab → · Contrast checker → · Palette generator →

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