#102F7F#102F7F

#102F7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.140 H 264.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#102F7F
RGBrgb(16, 47, 127)
HSLhsl(223, 78%, 28%)
HSVhsv(223, 87%, 50%)
CMYKcmyk(87.4%, 63%, 0%, 50.2%)
CIE-LABlab(22.57, 21.86, -48.17)
CIE-LCHlch(22.57, 52.89, 294.41°)
OKLaboklab(34.06% -0.0145 -0.1394)
OKLCHoklch(34.06% 0.14 264.1)
XYZxyz(5.0596, 3.6749, 20.5172)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102F7F #7F6010
analogous
#10667F #102F7F #28107F
triadic
#102F7F #7F102F #2F7F10
tetradic
#102F7F #7F1066 #7F6010 #107F28
square
#102F7F #7F1066 #7F6010 #107F28
split-complementary
#102F7F #7F2810 #667F10
monochromatic
#030A1B #091B49 #102F7F #1743B5 #265BE4

Accessibility & contrast

On white

12.10
#102F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#102F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102F7F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102F7F#FFFFFF#000000##FFFFFF
##102F7F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #102f7f;
/* rgb */ color: rgb(16, 47, 127);
/* oklch */ color: oklch(34.1% 0.140 264.1);
Tailwind
colors: {
  custom: {
    50: '#6567a5',
    500: '#102f7f',
    950: '#000000',
  },
}
SCSS
$custom: #102f7f;
$custom-light: #6567a5;
$custom-dark: #000000;
JSON
{
  "hex": "#102f7f",
  "rgb": {
    "r": 16,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 223.243,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34056,
    "c": 0.14017,
    "h": 264.1
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#102F7F
secondary
#B59236
accent
#BE34F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #102F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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