#102271#102271

#102271 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.137 H 267.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#102271
RGBrgb(16, 34, 113)
HSLhsl(229, 75%, 25%)
HSVhsv(229, 86%, 44%)
CMYKcmyk(85.8%, 69.9%, 0%, 55.7%)
CIE-LABlab(17.67, 25.31, -47.25)
CIE-LCHlch(17.67, 53.60, 298.17°)
OKLaboklab(30.03% -0.0073 -0.1369)
OKLCHoklch(30.03% 0.137 267)
XYZxyz(3.7653, 2.4460, 15.8933)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102271 #715F10
analogous
#105271 #102271 #2E1071
triadic
#102271 #711022 #227110
tetradic
#102271 #711052 #715F10 #10712E
square
#102271 #711052 #715F10 #10712E
split-complementary
#102271 #712E10 #527110
monochromatic
#04081B #08123B #102271 #1832A7 #1F42DC

Accessibility & contrast

On white

14.10
#102271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#102271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102271
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102271#FFFFFF#000000##FFFFFF
##1022711.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102271;
/* rgb */ color: rgb(16, 34, 113);
/* oklch */ color: oklch(30.0% 0.137 267.0);
Tailwind
colors: {
  custom: {
    50: '#625d9b',
    500: '#102271',
    950: '#000000',
  },
}
SCSS
$custom: #102271;
$custom-light: #625d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#102271",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 228.866,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30025,
    "c": 0.13707,
    "h": 267
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#102271
secondary
#A99334
accent
#CF36F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #102271

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

Preview Lab → · Contrast checker → · Palette generator →

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