#102052#102052

#102052 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.094 H 266.5°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#102052
RGBrgb(16, 32, 82)
HSLhsl(225, 67%, 19%)
HSVhsv(225, 80%, 32%)
CMYKcmyk(80.5%, 61%, 0%, 67.8%)
CIE-LABlab(14.13, 13.76, -32.52)
CIE-LCHlch(14.13, 35.31, 292.94°)
OKLaboklab(26.48% -0.0058 -0.0937)
OKLCHoklch(26.48% 0.094 266.5)
XYZxyz(2.2527, 1.7521, 8.2005)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102052 #524210
analogous
#104152 #102052 #211052
triadic
#102052 #521020 #205210
tetradic
#102052 #521041 #524210 #105221
square
#102052 #521041 #524210 #105221
split-complementary
#102052 #522110 #415210
monochromatic
#050A1A #060C1F #102052 #1A3485 #2448B8

Accessibility & contrast

On white

15.55
#102052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102052
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102052#FFFFFF#000000##FFFFFF
##1020521.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #102052;
/* rgb */ color: rgb(16, 32, 82);
/* oklch */ color: oklch(26.5% 0.094 266.5);
Tailwind
colors: {
  custom: {
    50: '#595b83',
    500: '#102052',
    950: '#000000',
  },
}
SCSS
$custom: #102052;
$custom-light: #595b83;
$custom-dark: #000000;
JSON
{
  "hex": "#102052",
  "rgb": {
    "r": 16,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 225.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26481,
    "c": 0.09391,
    "h": 266.5
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#102052
secondary
#8C7632
accent
#C03EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102052

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

Preview Lab → · Contrast checker → · Palette generator →

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