#1631B4#1631B4

#1631B4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.1% C 0.206 H 266.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1631B4
RGBrgb(22, 49, 180)
HSLhsl(230, 78%, 40%)
HSVhsv(230, 88%, 71%)
CMYKcmyk(87.8%, 72.8%, 0%, 29.4%)
CIE-LABlab(28.54, 41.38, -70.79)
CIE-LCHlch(28.54, 82.00, 300.31°)
OKLaboklab(40.08% -0.0136 -0.2053)
OKLCHoklch(40.08% 0.206 266.2)
XYZxyz(9.6645, 5.6613, 43.7545)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1631B4 #B49916
analogous
#1680B4 #1631B4 #4A16B4
triadic
#1631B4 #B41631 #31B416
tetradic
#1631B4 #B41680 #B49916 #16B44A
square
#1631B4 #B41680 #B49916 #16B44A
split-complementary
#1631B4 #B44A16 #80B416
monochromatic
#091347 #0F227D #1631B4 #2344E4 #5A72EB

Accessibility & contrast

On white

9.85
#1631B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1631B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1631B4
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1631B4#FFFFFF#000000##FFFFFF
##1631B41.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1631b4;
/* rgb */ color: rgb(22, 49, 180);
/* oklch */ color: oklch(40.1% 0.206 266.2);
Tailwind
colors: {
  custom: {
    50: '#766acc',
    500: '#1631b4',
    950: '#000000',
  },
}
SCSS
$custom: #1631b4;
$custom-light: #766acc;
$custom-dark: #000000;
JSON
{
  "hex": "#1631b4",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 229.747,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.20576,
    "h": 266.2
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#1631B4
secondary
#CEBA58
accent
#D433F5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0614
muted
#7C7A82

Preview Lab

Preview with #1631B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1631B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva