#102751#102751

#102751 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.1% C 0.082 H 261.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#102751
RGBrgb(16, 39, 81)
HSLhsl(219, 67%, 19%)
HSVhsv(219, 80%, 32%)
CMYKcmyk(80.2%, 51.9%, 0%, 68.2%)
CIE-LABlab(16.28, 8.03, -28.36)
CIE-LCHlch(16.28, 29.47, 285.82°)
OKLaboklab(28.09% -0.0125 -0.0814)
OKLCHoklch(28.09% 0.082 261.2)
XYZxyz(2.4239, 2.1550, 8.0712)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102751 #513A10
analogous
#104851 #102751 #1A1051
triadic
#102751 #511027 #275110
tetradic
#102751 #511048 #513A10 #10511A
square
#102751 #511048 #513A10 #10511A
split-complementary
#102751 #511A10 #485110
monochromatic
#050C1A #060E1E #102751 #1A4084 #2458B7

Accessibility & contrast

On white

14.68
#102751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#102751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102751
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102751#FFFFFF#000000##FFFFFF
##1027511.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102C53
Deuteranopia (green-blind)
#022650
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #102751;
/* rgb */ color: rgb(16, 39, 81);
/* oklch */ color: oklch(28.1% 0.082 261.2);
Tailwind
colors: {
  custom: {
    50: '#596082',
    500: '#102751',
    950: '#000000',
  },
}
SCSS
$custom: #102751;
$custom-light: #596082;
$custom-dark: #000000;
JSON
{
  "hex": "#102751",
  "rgb": {
    "r": 16,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 218.769,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28091,
    "c": 0.08232,
    "h": 261.2
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#102751
secondary
#8B6B32
accent
#AD3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #102751

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

Preview Lab → · Contrast checker → · Palette generator →

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