#102140#102140

#102140 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.2% C 0.063 H 261.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#102140
RGBrgb(16, 33, 64)
HSLhsl(219, 60%, 16%)
HSVhsv(219, 75%, 25%)
CMYKcmyk(75%, 48.4%, 0%, 74.9%)
CIE-LABlab(13.03, 5.17, -21.86)
CIE-LCHlch(13.03, 22.47, 283.30°)
OKLaboklab(25.19% -0.0095 -0.0624)
OKLCHoklch(25.19% 0.063 261.4)
XYZxyz(1.6826, 1.5679, 5.0634)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102140 #402F10
analogous
#103940 #102140 #171040
triadic
#102140 #401021 #214010
tetradic
#102140 #401039 #402F10 #104017
square
#102140 #401039 #402F10 #104017
split-complementary
#102140 #401710 #394010
monochromatic
#060D18 #060D18 #102140 #1C3A71 #2853A2

Accessibility & contrast

On white

15.99
#102140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#102140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102140
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102140#FFFFFF#000000##FFFFFF
##1021401.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#0B203F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #102140;
/* rgb */ color: rgb(16, 33, 64);
/* oklch */ color: oklch(25.2% 0.063 261.4);
Tailwind
colors: {
  custom: {
    50: '#545b75',
    500: '#102140',
    950: '#000000',
  },
}
SCSS
$custom: #102140;
$custom-light: #545b75;
$custom-dark: #000000;
JSON
{
  "hex": "#102140",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 218.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25193,
    "c": 0.0631,
    "h": 261.4
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#102140
secondary
#7A6032
accent
#AB45E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #102140

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

Preview Lab → · Contrast checker → · Palette generator →

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