#102242#102242

#102242 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.065 H 261.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#102242
RGBrgb(16, 34, 66)
HSLhsl(218, 61%, 16%)
HSVhsv(218, 76%, 26%)
CMYKcmyk(75.8%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.52, 5.27, -22.49)
CIE-LCHlch(13.52, 23.10, 283.20°)
OKLaboklab(25.61% -0.0102 -0.0642)
OKLCHoklch(25.61% 0.065 261)
XYZxyz(1.7687, 1.6474, 5.3780)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102242 #423010
analogous
#103B42 #102242 #171042
triadic
#102242 #421022 #224210
tetradic
#102242 #42103B #423010 #104217
square
#102242 #42103B #423010 #104217
split-complementary
#102242 #421710 #3B4210
monochromatic
#060D19 #060D19 #102242 #1C3B73 #2855A5

Accessibility & contrast

On white

15.79
#102242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#102242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102242
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102242#FFFFFF#000000##FFFFFF
##1022421.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#0B2041
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #102242;
/* rgb */ color: rgb(16, 34, 66);
/* oklch */ color: oklch(25.6% 0.065 261.0);
Tailwind
colors: {
  custom: {
    50: '#555c76',
    500: '#102242',
    950: '#000000',
  },
}
SCSS
$custom: #102242;
$custom-light: #555c76;
$custom-dark: #000000;
JSON
{
  "hex": "#102242",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 218.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25611,
    "c": 0.06501,
    "h": 261
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#102242
secondary
#7C6132
accent
#AA44E4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #102242

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

Preview Lab → · Contrast checker → · Palette generator →

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