#102852#102852

#102852 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.083 H 260.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#102852
RGBrgb(16, 40, 82)
HSLhsl(218, 67%, 19%)
HSVhsv(218, 80%, 32%)
CMYKcmyk(80.5%, 51.2%, 0%, 67.8%)
CIE-LABlab(16.68, 7.72, -28.39)
CIE-LCHlch(16.68, 29.42, 285.21°)
OKLaboklab(28.42% -0.0133 -0.0814)
OKLCHoklch(28.42% 0.083 260.7)
XYZxyz(2.4949, 2.2367, 8.2812)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102852 #523A10
analogous
#104952 #102852 #191052
triadic
#102852 #521028 #285210
tetradic
#102852 #521049 #523A10 #105219
square
#102852 #521049 #523A10 #105219
split-complementary
#102852 #521910 #495210
monochromatic
#050C1A #060F1F #102852 #1A4185 #245AB8

Accessibility & contrast

On white

14.51
#102852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#102852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102852
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102852#FFFFFF#000000##FFFFFF
##1028521.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C54
Deuteranopia (green-blind)
#032651
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #102852;
/* rgb */ color: rgb(16, 40, 82);
/* oklch */ color: oklch(28.4% 0.083 260.7);
Tailwind
colors: {
  custom: {
    50: '#596183',
    500: '#102852',
    950: '#000000',
  },
}
SCSS
$custom: #102852;
$custom-light: #596183;
$custom-dark: #000000;
JSON
{
  "hex": "#102852",
  "rgb": {
    "r": 16,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 218.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28424,
    "c": 0.08252,
    "h": 260.7
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#102852
secondary
#8C6B32
accent
#AB3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #102852

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

Preview Lab → · Contrast checker → · Palette generator →

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