#102F5F#102F5F

#102F5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.093 H 259.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#102F5F
RGBrgb(16, 47, 95)
HSLhsl(216, 71%, 22%)
HSVhsv(216, 83%, 37%)
CMYKcmyk(83.2%, 50.5%, 0%, 62.7%)
CIE-LABlab(19.92, 8.21, -31.85)
CIE-LCHlch(19.92, 32.89, 284.45°)
OKLaboklab(31.22% -0.0176 -0.0914)
OKLCHoklch(31.22% 0.093 259.1)
XYZxyz(3.2950, 2.9690, 11.2237)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102F5F #5F4010
analogous
#10575F #102F5F #19105F
triadic
#102F5F #5F102F #2F5F10
tetradic
#102F5F #5F1057 #5F4010 #105F19
square
#102F5F #5F1057 #5F4010 #105F19
split-complementary
#102F5F #5F1910 #575F10
monochromatic
#040D1A #07152B #102F5F #194993 #2263C8

Accessibility & contrast

On white

13.18
#102F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#102F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102F5F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102F5F#FFFFFF#000000##FFFFFF
##102F5F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#012D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #102f5f;
/* rgb */ color: rgb(16, 47, 95);
/* oklch */ color: oklch(31.2% 0.093 259.1);
Tailwind
colors: {
  custom: {
    50: '#5c678d',
    500: '#102f5f',
    950: '#000000',
  },
}
SCSS
$custom: #102f5f;
$custom-light: #5c678d;
$custom-dark: #000000;
JSON
{
  "hex": "#102f5f",
  "rgb": {
    "r": 16,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 216.456,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.09313,
    "h": 259.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#102F5F
secondary
#987033
accent
#A73AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #102F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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