#102147#102147

#102147 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.075 H 263.8°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#102147
RGBrgb(16, 33, 71)
HSLhsl(221, 63%, 17%)
HSVhsv(221, 77%, 28%)
CMYKcmyk(77.5%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.55, 8.21, -25.91)
CIE-LCHlch(13.55, 27.18, 287.58°)
OKLaboklab(25.75% -0.008 -0.0743)
OKLCHoklch(25.75% 0.075 263.8)
XYZxyz(1.8945, 1.6526, 6.1792)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102147 #473610
analogous
#103D47 #102147 #1B1047
triadic
#102147 #471021 #214710
tetradic
#102147 #47103D #473610 #10471B
square
#102147 #47103D #473610 #10471B
split-complementary
#102147 #471B10 #3D4710
monochromatic
#060C19 #060C19 #102147 #1B3879 #274FAB

Accessibility & contrast

On white

15.78
#102147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#102147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102147
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102147#FFFFFF#000000##FFFFFF
##1021471.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2548
Deuteranopia (green-blind)
#022046
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #102147;
/* rgb */ color: rgb(16, 33, 71);
/* oklch */ color: oklch(25.8% 0.075 263.8);
Tailwind
colors: {
  custom: {
    50: '#565b7a',
    500: '#102147',
    950: '#000000',
  },
}
SCSS
$custom: #102147;
$custom-light: #565b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#102147",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 221.455,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25753,
    "c": 0.07472,
    "h": 263.8
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#102147
secondary
#816932
accent
#B342E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #102147

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

Preview Lab → · Contrast checker → · Palette generator →

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