#1D64B1#1D64B1

#1D64B1 is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.140 H 254.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1D64B1
RGBrgb(29, 100, 177)
HSLhsl(211, 72%, 40%)
HSVhsv(211, 84%, 69%)
CMYKcmyk(83.6%, 43.5%, 0%, 30.6%)
CIE-LABlab(42.07, 7.27, -46.97)
CIE-LCHlch(42.07, 47.53, 278.80°)
OKLaboklab(50.23% -0.0386 -0.1347)
OKLCHoklch(50.23% 0.14 254)
XYZxyz(12.9967, 12.5483, 43.3235)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D64B1 #B16A1D
analogous
#1DAEB1 #1D64B1 #201DB1
triadic
#1D64B1 #B11D64 #64B11D
tetradic
#1D64B1 #B11DAE #B16A1D #1DB120
square
#1D64B1 #B11DAE #B16A1D #1DB120
split-complementary
#1D64B1 #B1201D #AEB11D
monochromatic
#0C2948 #14467C #1D64B1 #2E82DD #63A2E5

Accessibility & contrast

On white

5.98
#1D64B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1D64B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D64B1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D64B1#FFFFFF#000000##FFFFFF
##1D64B11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB4
Deuteranopia (green-blind)
#1F5DAF
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d64b1;
/* rgb */ color: rgb(29, 100, 177);
/* oklch */ color: oklch(50.2% 0.140 254.0);
Tailwind
colors: {
  custom: {
    50: '#738fc9',
    500: '#1d64b1',
    950: '#000000',
  },
}
SCSS
$custom: #1d64b1;
$custom-light: #738fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d64b1",
  "rgb": {
    "r": 29,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 211.216,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.14009,
    "h": 254
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#1D64B1
secondary
#CA9760
accent
#9839EF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C13
muted
#7B7D82

Preview Lab

Preview with #1D64B1

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

Preview Lab → · Contrast checker → · Palette generator →

#1D64B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva