#1E64C9#1E64C9

#1E64C9 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.172 H 258.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#1E64C9
RGBrgb(30, 100, 201)
HSLhsl(215, 74%, 45%)
HSVhsv(215, 85%, 79%)
CMYKcmyk(85.1%, 50.2%, 0%, 21.2%)
CIE-LABlab(43.66, 16.78, -58.37)
CIE-LCHlch(43.66, 60.73, 286.04°)
OKLaboklab(51.96% -0.0339 -0.1682)
OKLCHoklch(51.96% 0.172 258.6)
XYZxyz(15.6313, 13.6054, 57.0493)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E64C9 #C9831E
analogous
#1EB9C9 #1E64C9 #2E1EC9
triadic
#1E64C9 #C91E64 #64C91E
tetradic
#1E64C9 #C91EB9 #C9831E #1EC92E
square
#1E64C9 #C91EB9 #C9831E #1EC92E
split-complementary
#1E64C9 #C92E1E #B9C91E
monochromatic
#0E2F5E #164A94 #1E64C9 #4183E3 #77A6EB

Accessibility & contrast

On white

5.64
#1E64C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#1E64C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E64C9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E64C9#FFFFFF#000000##FFFFFF
##1E64C91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236FCD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1e64c9;
/* rgb */ color: rgb(30, 100, 201);
/* oklch */ color: oklch(52.0% 0.172 258.6);
Tailwind
colors: {
  custom: {
    50: '#798fda',
    500: '#1e64c9',
    950: '#000000',
  },
}
SCSS
$custom: #1e64c9;
$custom-light: #798fda;
$custom-dark: #000000;
JSON
{
  "hex": "#1e64c9",
  "rgb": {
    "r": 30,
    "g": 100,
    "b": 201
  },
  "hsl": {
    "h": 215.439,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.17157,
    "h": 258.6
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#1E64C9
secondary
#D2AA71
accent
#A537F1
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #1E64C9

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

Preview Lab → · Contrast checker → · Palette generator →

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