#1638B4#1638B4

#1638B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.198 H 265.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1638B4
RGBrgb(22, 56, 180)
HSLhsl(227, 78%, 40%)
HSVhsv(227, 88%, 71%)
CMYKcmyk(87.8%, 68.9%, 0%, 29.4%)
CIE-LABlab(30.14, 37.01, -68.16)
CIE-LCHlch(30.14, 77.56, 298.50°)
OKLaboklab(41.23% -0.0158 -0.1976)
OKLCHoklch(41.23% 0.198 265.4)
XYZxyz(9.9804, 6.2929, 43.8598)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1638B4 #B49216
analogous
#1687B4 #1638B4 #4316B4
triadic
#1638B4 #B41638 #38B416
tetradic
#1638B4 #B41687 #B49216 #16B443
square
#1638B4 #B41687 #B49216 #16B443
split-complementary
#1638B4 #B44316 #87B416
monochromatic
#091647 #0F277D #1638B4 #234DE4 #5A79EB

Accessibility & contrast

On white

9.30
#1638B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1638B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1638B4
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1638B4#FFFFFF#000000##FFFFFF
##1638B41.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1638b4;
/* rgb */ color: rgb(22, 56, 180);
/* oklch */ color: oklch(41.2% 0.198 265.4);
Tailwind
colors: {
  custom: {
    50: '#756ecc',
    500: '#1638b4',
    950: '#000000',
  },
}
SCSS
$custom: #1638b4;
$custom-light: #756ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#1638b4",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 227.089,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41232,
    "c": 0.19827,
    "h": 265.4
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#1638B4
secondary
#CEB558
accent
#CB33F5
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1638B4

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

Preview Lab → · Contrast checker → · Palette generator →

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