#1F59C2#1F59C2

#1F59C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.175 H 261.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#1F59C2
RGBrgb(31, 89, 194)
HSLhsl(219, 72%, 44%)
HSVhsv(219, 84%, 76%)
CMYKcmyk(84%, 54.1%, 0%, 23.9%)
CIE-LABlab(40.13, 21.31, -60.04)
CIE-LCHlch(40.13, 63.71, 289.54°)
OKLaboklab(49.12% -0.027 -0.1733)
OKLCHoklch(49.12% 0.175 261.2)
XYZxyz(13.8715, 11.3294, 52.4842)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F59C2 #C2881F
analogous
#1FABC2 #1F59C2 #361FC2
triadic
#1F59C2 #C21F59 #59C21F
tetradic
#1F59C2 #C21FAB #C2881F #1FC236
square
#1F59C2 #C21FAB #C2881F #1FC236
split-complementary
#1F59C2 #C2361F #ABC21F
monochromatic
#0E2958 #17418D #1F59C2 #3E78E0 #739DE9

Accessibility & contrast

On white

6.43
#1F59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#1F59C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F59C2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F59C2#FFFFFF#000000##FFFFFF
##1F59C21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f59c2;
/* rgb */ color: rgb(31, 89, 194);
/* oklch */ color: oklch(49.1% 0.175 261.2);
Tailwind
colors: {
  custom: {
    50: '#7887d5',
    500: '#1f59c2',
    950: '#000000',
  },
}
SCSS
$custom: #1f59c2;
$custom-light: #7887d5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f59c2",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 218.65,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.17539,
    "h": 261.2
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#1F59C2
secondary
#CFAD6D
accent
#AE39EF
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #1F59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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