#102240#102240

#102240 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.062 H 260.0°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#102240
RGBrgb(16, 34, 64)
HSLhsl(218, 60%, 16%)
HSVhsv(218, 75%, 25%)
CMYKcmyk(75%, 46.9%, 0%, 74.9%)
CIE-LABlab(13.38, 4.41, -21.32)
CIE-LCHlch(13.38, 21.77, 281.69°)
OKLaboklab(25.46% -0.0107 -0.0608)
OKLCHoklch(25.46% 0.062 260)
XYZxyz(1.7108, 1.6242, 5.0728)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102240 #402E10
analogous
#103A40 #102240 #161040
triadic
#102240 #401022 #224010
tetradic
#102240 #40103A #402E10 #104016
square
#102240 #40103A #402E10 #104016
split-complementary
#102240 #401610 #3A4010
monochromatic
#060D18 #060D18 #102240 #1C3C71 #2856A2

Accessibility & contrast

On white

15.85
#102240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#102240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102240
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102240#FFFFFF#000000##FFFFFF
##1022401.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142541
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #102240;
/* rgb */ color: rgb(16, 34, 64);
/* oklch */ color: oklch(25.5% 0.062 260.0);
Tailwind
colors: {
  custom: {
    50: '#545c75',
    500: '#102240',
    950: '#000000',
  },
}
SCSS
$custom: #102240;
$custom-light: #545c75;
$custom-dark: #000000;
JSON
{
  "hex": "#102240",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 217.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25458,
    "c": 0.06169,
    "h": 260
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#102240
secondary
#7A5F32
accent
#A845E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #102240

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

Preview Lab → · Contrast checker → · Palette generator →

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