#102152#102152

#102152 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.092 H 265.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#102152
RGBrgb(16, 33, 82)
HSLhsl(225, 67%, 19%)
HSVhsv(225, 80%, 32%)
CMYKcmyk(80.5%, 59.8%, 0%, 67.8%)
CIE-LABlab(14.44, 13.00, -32.01)
CIE-LCHlch(14.44, 34.55, 292.10°)
OKLaboklab(26.72% -0.0067 -0.0922)
OKLCHoklch(26.72% 0.092 265.9)
XYZxyz(2.2800, 1.8068, 8.2096)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102152 #524110
analogous
#104252 #102152 #201052
triadic
#102152 #521021 #215210
tetradic
#102152 #521042 #524110 #105220
square
#102152 #521042 #524110 #105220
split-complementary
#102152 #522010 #425210
monochromatic
#050A1A #060C1F #102152 #1A3685 #244AB8

Accessibility & contrast

On white

15.43
#102152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#102152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102152
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102152#FFFFFF#000000##FFFFFF
##1021521.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #102152;
/* rgb */ color: rgb(16, 33, 82);
/* oklch */ color: oklch(26.7% 0.092 265.9);
Tailwind
colors: {
  custom: {
    50: '#595b83',
    500: '#102152',
    950: '#000000',
  },
}
SCSS
$custom: #102152;
$custom-light: #595b83;
$custom-dark: #000000;
JSON
{
  "hex": "#102152",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 224.545,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26715,
    "c": 0.09247,
    "h": 265.9
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#102152
secondary
#8C7532
accent
#BE3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #102152

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

Preview Lab → · Contrast checker → · Palette generator →

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