#1D64B4#1D64B4

#1D64B4 is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.144 H 254.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1D64B4
RGBrgb(29, 100, 180)
HSLhsl(212, 72%, 41%)
HSVhsv(212, 84%, 71%)
CMYKcmyk(83.9%, 44.4%, 0%, 29.4%)
CIE-LABlab(42.26, 8.45, -48.43)
CIE-LCHlch(42.26, 49.16, 279.90°)
OKLaboklab(50.43% -0.038 -0.1389)
OKLCHoklch(50.43% 0.144 254.7)
XYZxyz(13.2990, 12.6692, 44.9156)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D64B4 #B46D1D
analogous
#1DAFB4 #1D64B4 #211DB4
triadic
#1D64B4 #B41D64 #64B41D
tetradic
#1D64B4 #B41DAF #B46D1D #1DB421
square
#1D64B4 #B41DAF #B46D1D #1DB421
split-complementary
#1D64B4 #B4211D #AFB41D
monochromatic
#0C294B #15477F #1D64B4 #3082DE #65A2E6

Accessibility & contrast

On white

5.94
#1D64B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1D64B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D64B4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D64B4#FFFFFF#000000##FFFFFF
##1D64B41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#1A5EB2
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1d64b4;
/* rgb */ color: rgb(29, 100, 180);
/* oklch */ color: oklch(50.4% 0.144 254.7);
Tailwind
colors: {
  custom: {
    50: '#748fcb',
    500: '#1d64b4',
    950: '#000000',
  },
}
SCSS
$custom: #1d64b4;
$custom-light: #748fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d64b4",
  "rgb": {
    "r": 29,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 211.788,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.14405,
    "h": 254.7
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#1D64B4
secondary
#CB9A61
accent
#9939EF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #1D64B4

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

Preview Lab → · Contrast checker → · Palette generator →

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