#102151#102151

#102151 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.091 H 265.7°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#102151
RGBrgb(16, 33, 81)
HSLhsl(224, 67%, 19%)
HSVhsv(224, 80%, 32%)
CMYKcmyk(80.2%, 59.3%, 0%, 68.2%)
CIE-LABlab(14.35, 12.56, -31.47)
CIE-LCHlch(14.35, 33.89, 291.76°)
OKLaboklab(26.62% -0.0068 -0.0906)
OKLCHoklch(26.62% 0.091 265.7)
XYZxyz(2.2422, 1.7917, 8.0107)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102151 #514010
analogous
#104251 #102151 #201051
triadic
#102151 #511021 #215110
tetradic
#102151 #511042 #514010 #105120
square
#102151 #511042 #514010 #105120
split-complementary
#102151 #512010 #425110
monochromatic
#050A1A #060C1E #102151 #1A3684 #244BB7

Accessibility & contrast

On white

15.46
#102151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102151
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102151#FFFFFF#000000##FFFFFF
##1021511.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#002150
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #102151;
/* rgb */ color: rgb(16, 33, 81);
/* oklch */ color: oklch(26.6% 0.091 265.7);
Tailwind
colors: {
  custom: {
    50: '#595b82',
    500: '#102151',
    950: '#000000',
  },
}
SCSS
$custom: #102151;
$custom-light: #595b82;
$custom-dark: #000000;
JSON
{
  "hex": "#102151",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 224.308,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26623,
    "c": 0.09089,
    "h": 265.7
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#102151
secondary
#8B7432
accent
#BD3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #102151

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

Preview Lab → · Contrast checker → · Palette generator →

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