#1640A1#1640A1

#1640A1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.164 H 263.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1640A1
RGBrgb(22, 64, 161)
HSLhsl(222, 76%, 36%)
HSVhsv(222, 86%, 63%)
CMYKcmyk(86.3%, 60.2%, 0%, 36.9%)
CIE-LABlab(30.42, 24.33, -56.30)
CIE-LCHlch(30.42, 61.33, 293.37°)
OKLaboklab(40.91% -0.0192 -0.1629)
OKLCHoklch(40.91% 0.164 263.3)
XYZxyz(8.5950, 6.4095, 34.4955)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1640A1 #A17716
analogous
#1685A1 #1640A1 #3216A1
triadic
#1640A1 #A11640 #40A116
tetradic
#1640A1 #A11685 #A17716 #16A132
square
#1640A1 #A11685 #A17716 #16A132
split-complementary
#1640A1 #A13216 #85A116
monochromatic
#071535 #0F2B6B #1640A1 #1D55D7 #4B7AE6

Accessibility & contrast

On white

9.20
#1640A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1640A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1640A1
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1640A1#FFFFFF#000000##FFFFFF
##1640A11.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1640a1;
/* rgb */ color: rgb(22, 64, 161);
/* oklch */ color: oklch(40.9% 0.164 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f74be',
    500: '#1640a1',
    950: '#000000',
  },
}
SCSS
$custom: #1640a1;
$custom-light: #6f74be;
$custom-dark: #000000;
JSON
{
  "hex": "#1640a1",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 221.871,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40905,
    "c": 0.16404,
    "h": 263.3
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#1640A1
secondary
#C8A24B
accent
#B935F3
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1640A1

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

Preview Lab → · Contrast checker → · Palette generator →

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