#102440#102440

#102440 is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.0% C 0.059 H 257.2°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#102440
RGBrgb(16, 36, 64)
HSLhsl(215, 60%, 16%)
HSVhsv(215, 75%, 25%)
CMYKcmyk(75%, 43.8%, 0%, 74.9%)
CIE-LABlab(14.07, 2.91, -20.21)
CIE-LCHlch(14.07, 20.42, 278.19°)
OKLaboklab(26% -0.0131 -0.0575)
OKLCHoklch(26% 0.059 257.2)
XYZxyz(1.7696, 1.7419, 5.0925)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102440 #402C10
analogous
#103C40 #102440 #141040
triadic
#102440 #401024 #244010
tetradic
#102440 #40103C #402C10 #104014
square
#102440 #40103C #402C10 #104014
split-complementary
#102440 #401410 #3C4010
monochromatic
#060E18 #060E18 #102440 #1C4071 #285BA2

Accessibility & contrast

On white

15.57
#102440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#102440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102440
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102440#FFFFFF#000000##FFFFFF
##1024401.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182641
Deuteranopia (green-blind)
#11223F
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #102440;
/* rgb */ color: rgb(16, 36, 64);
/* oklch */ color: oklch(26.0% 0.059 257.2);
Tailwind
colors: {
  custom: {
    50: '#545e75',
    500: '#102440',
    950: '#000000',
  },
}
SCSS
$custom: #102440;
$custom-light: #545e75;
$custom-dark: #000000;
JSON
{
  "hex": "#102440",
  "rgb": {
    "r": 16,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 215,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25996,
    "c": 0.05898,
    "h": 257.2
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#102440
secondary
#7A5C32
accent
#A145E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #102440

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

Preview Lab → · Contrast checker → · Palette generator →

#102440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva