#1642A1#1642A1

#1642A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.162 H 262.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1642A1
RGBrgb(22, 66, 161)
HSLhsl(221, 76%, 36%)
HSVhsv(221, 86%, 63%)
CMYKcmyk(86.3%, 59%, 0%, 36.9%)
CIE-LABlab(30.97, 22.96, -55.41)
CIE-LCHlch(30.97, 59.98, 292.51°)
OKLaboklab(41.32% -0.0204 -0.1602)
OKLCHoklch(41.32% 0.162 262.8)
XYZxyz(8.7098, 6.6391, 34.5337)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1642A1 #A17516
analogous
#1687A1 #1642A1 #2F16A1
triadic
#1642A1 #A11642 #42A116
tetradic
#1642A1 #A11687 #A17516 #16A12F
square
#1642A1 #A11687 #A17516 #16A12F
split-complementary
#1642A1 #A12F16 #87A116
monochromatic
#071635 #0F2C6B #1642A1 #1D58D7 #4B7CE6

Accessibility & contrast

On white

9.02
#1642A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1642A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1642A1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1642A1#FFFFFF#000000##FFFFFF
##1642A11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1642a1;
/* rgb */ color: rgb(22, 66, 161);
/* oklch */ color: oklch(41.3% 0.162 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f75be',
    500: '#1642a1',
    950: '#000000',
  },
}
SCSS
$custom: #1642a1;
$custom-light: #6f75be;
$custom-dark: #000000;
JSON
{
  "hex": "#1642a1",
  "rgb": {
    "r": 22,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 221.007,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.16154,
    "h": 262.8
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#1642A1
secondary
#C8A04B
accent
#B735F3
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1642A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1642A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva