#102A4F#102A4F

#102A4F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.075 H 257.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#102A4F
RGBrgb(16, 42, 79)
HSLhsl(215, 66%, 19%)
HSVhsv(215, 80%, 31%)
CMYKcmyk(79.7%, 46.8%, 0%, 69%)
CIE-LABlab(17.13, 4.93, -25.64)
CIE-LCHlch(17.13, 26.11, 280.89°)
OKLaboklab(28.7% -0.016 -0.0733)
OKLCHoklch(28.7% 0.075 257.6)
XYZxyz(2.4524, 2.3303, 7.7162)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A4F #4F3510
analogous
#10494F #102A4F #15104F
triadic
#102A4F #4F102A #2A4F10
tetradic
#102A4F #4F1049 #4F3510 #104F15
square
#102A4F #4F1049 #4F3510 #104F15
split-complementary
#102A4F #4F1510 #494F10
monochromatic
#050E19 #060F1C #102A4F #1A4582 #2560B5

Accessibility & contrast

On white

14.32
#102A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#102A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A4F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A4F#FFFFFF#000000##FFFFFF
##102A4F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #102a4f;
/* rgb */ color: rgb(16, 42, 79);
/* oklch */ color: oklch(28.7% 0.075 257.6);
Tailwind
colors: {
  custom: {
    50: '#586380',
    500: '#102a4f',
    950: '#000000',
  },
}
SCSS
$custom: #102a4f;
$custom-light: #586380;
$custom-dark: #000000;
JSON
{
  "hex": "#102a4f",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 215.238,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28702,
    "c": 0.07504,
    "h": 257.6
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#102A4F
secondary
#896532
accent
#A33FE9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #102A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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