#102A72#102A72

#102A72 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.128 H 264.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#102A72
RGBrgb(16, 42, 114)
HSLhsl(224, 75%, 25%)
HSVhsv(224, 86%, 45%)
CMYKcmyk(86%, 63.2%, 0%, 55.3%)
CIE-LABlab(19.97, 20.01, -44.14)
CIE-LCHlch(19.97, 48.46, 294.39°)
OKLaboklab(31.75% -0.0118 -0.1277)
OKLCHoklch(31.75% 0.128 264.7)
XYZxyz(4.0778, 2.9805, 16.2767)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A72 #725810
analogous
#105B72 #102A72 #271072
triadic
#102A72 #72102A #2A7210
tetradic
#102A72 #72105B #725810 #107227
square
#102A72 #72105B #725810 #107227
split-complementary
#102A72 #722710 #5B7210
monochromatic
#040A1B #08163C #102A72 #183EA8 #1F52DD

Accessibility & contrast

On white

13.16
#102A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#102A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A72
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A72#FFFFFF#000000##FFFFFF
##102A721.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #102a72;
/* rgb */ color: rgb(16, 42, 114);
/* oklch */ color: oklch(31.7% 0.128 264.7);
Tailwind
colors: {
  custom: {
    50: '#62639b',
    500: '#102a72',
    950: '#000000',
  },
}
SCSS
$custom: #102a72;
$custom-light: #62639b;
$custom-dark: #000000;
JSON
{
  "hex": "#102a72",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 224.082,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.12823,
    "h": 264.7
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#102A72
secondary
#A98A34
accent
#C036F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #102A72

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

Preview Lab → · Contrast checker → · Palette generator →

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