#102851#102851

#102851 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.081 H 260.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#102851
RGBrgb(16, 40, 81)
HSLhsl(218, 67%, 19%)
HSVhsv(218, 80%, 32%)
CMYKcmyk(80.2%, 50.6%, 0%, 68.2%)
CIE-LABlab(16.61, 7.28, -27.83)
CIE-LCHlch(16.61, 28.77, 284.67°)
OKLaboklab(28.34% -0.0135 -0.0798)
OKLCHoklch(28.34% 0.081 260.4)
XYZxyz(2.4571, 2.2216, 8.0823)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102851 #513910
analogous
#104951 #102851 #191051
triadic
#102851 #511028 #285110
tetradic
#102851 #511049 #513910 #105119
square
#102851 #511049 #513910 #105119
split-complementary
#102851 #511910 #495110
monochromatic
#050D1A #060F1E #102851 #1A4184 #245AB7

Accessibility & contrast

On white

14.54
#102851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#102851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102851
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102851#FFFFFF#000000##FFFFFF
##1028511.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C53
Deuteranopia (green-blind)
#052650
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #102851;
/* rgb */ color: rgb(16, 40, 81);
/* oklch */ color: oklch(28.3% 0.081 260.4);
Tailwind
colors: {
  custom: {
    50: '#596182',
    500: '#102851',
    950: '#000000',
  },
}
SCSS
$custom: #102851;
$custom-light: #596182;
$custom-dark: #000000;
JSON
{
  "hex": "#102851",
  "rgb": {
    "r": 16,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 217.846,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28344,
    "c": 0.08093,
    "h": 260.4
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#102851
secondary
#8B6A32
accent
#AA3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #102851

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

Preview Lab → · Contrast checker → · Palette generator →

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