#102C7F#102C7F

#102C7F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.144 H 264.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#102C7F
RGBrgb(16, 44, 127)
HSLhsl(225, 78%, 28%)
HSVhsv(225, 87%, 50%)
CMYKcmyk(87.4%, 65.4%, 0%, 50.2%)
CIE-LABlab(21.74, 23.98, -49.52)
CIE-LCHlch(21.74, 55.02, 295.84°)
OKLaboklab(33.44% -0.0128 -0.1434)
OKLCHoklch(33.44% 0.144 264.9)
XYZxyz(4.9438, 3.4432, 20.4786)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102C7F #7F6310
analogous
#10637F #102C7F #2C107F
triadic
#102C7F #7F102C #2C7F10
tetradic
#102C7F #7F1063 #7F6310 #107F2C
square
#102C7F #7F1063 #7F6310 #107F2C
split-complementary
#102C7F #7F2C10 #637F10
monochromatic
#03091B #091949 #102C7F #173FB5 #2656E4

Accessibility & contrast

On white

12.43
#102C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#102C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102C7F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102C7F#FFFFFF#000000##FFFFFF
##102C7F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #102c7f;
/* rgb */ color: rgb(16, 44, 127);
/* oklch */ color: oklch(33.4% 0.144 264.9);
Tailwind
colors: {
  custom: {
    50: '#6664a5',
    500: '#102c7f',
    950: '#000000',
  },
}
SCSS
$custom: #102c7f;
$custom-light: #6664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#102c7f",
  "rgb": {
    "r": 16,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 224.865,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33441,
    "c": 0.144,
    "h": 264.9
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#102C7F
secondary
#B59536
accent
#C434F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #102C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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