#102C72#102C72

#102C72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.126 H 264.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#102C72
RGBrgb(16, 44, 114)
HSLhsl(223, 75%, 25%)
HSVhsv(223, 86%, 45%)
CMYKcmyk(86%, 61.4%, 0%, 55.3%)
CIE-LABlab(20.54, 18.57, -43.20)
CIE-LCHlch(20.54, 47.02, 293.26°)
OKLaboklab(32.18% -0.0131 -0.1249)
OKLCHoklch(32.18% 0.126 264)
XYZxyz(4.1505, 3.1259, 16.3009)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102C72 #725610
analogous
#105D72 #102C72 #251072
triadic
#102C72 #72102C #2C7210
tetradic
#102C72 #72105D #725610 #107225
square
#102C72 #72105D #725610 #107225
split-complementary
#102C72 #722510 #5D7210
monochromatic
#040A1B #08173C #102C72 #1841A8 #1F55DD

Accessibility & contrast

On white

12.92
#102C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#102C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102C72
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102C72#FFFFFF#000000##FFFFFF
##102C721.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #102c72;
/* rgb */ color: rgb(16, 44, 114);
/* oklch */ color: oklch(32.2% 0.126 264.0);
Tailwind
colors: {
  custom: {
    50: '#62649b',
    500: '#102c72',
    950: '#000000',
  },
}
SCSS
$custom: #102c72;
$custom-light: #62649b;
$custom-dark: #000000;
JSON
{
  "hex": "#102c72",
  "rgb": {
    "r": 16,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 222.857,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32179,
    "c": 0.12558,
    "h": 264
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#102C72
secondary
#A98834
accent
#BC36F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #102C72

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

Preview Lab → · Contrast checker → · Palette generator →

#102C72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva