#102A64#102A64

#102A64 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.108 H 263.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#102A64
RGBrgb(16, 42, 100)
HSLhsl(221, 72%, 23%)
HSVhsv(221, 84%, 39%)
CMYKcmyk(84%, 58%, 0%, 60.8%)
CIE-LABlab(18.74, 14.05, -37.04)
CIE-LCHlch(18.74, 39.62, 290.78°)
OKLaboklab(30.44% -0.0126 -0.1068)
OKLCHoklch(30.44% 0.108 263.3)
XYZxyz(3.3411, 2.6858, 12.3964)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A64 #644A10
analogous
#105464 #102A64 #201064
triadic
#102A64 #64102A #2A6410
tetradic
#102A64 #641054 #644A10 #106420
square
#102A64 #641054 #644A10 #106420
split-complementary
#102A64 #642010 #546410
monochromatic
#040B1A #08142F #102A64 #184099 #2156CE

Accessibility & contrast

On white

13.66
#102A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#102A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A64
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A64#FFFFFF#000000##FFFFFF
##102A641.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #102a64;
/* rgb */ color: rgb(16, 42, 100);
/* oklch */ color: oklch(30.4% 0.108 263.3);
Tailwind
colors: {
  custom: {
    50: '#5e6391',
    500: '#102a64',
    950: '#000000',
  },
}
SCSS
$custom: #102a64;
$custom-light: #5e6391;
$custom-dark: #000000;
JSON
{
  "hex": "#102a64",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 221.429,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.10758,
    "h": 263.3
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#102A64
secondary
#9D7C33
accent
#B739EF
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #102A64

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

Preview Lab → · Contrast checker → · Palette generator →

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