#1F59BB#1F59BB

#1F59BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.166 H 260.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#1F59BB
RGBrgb(31, 89, 187)
HSLhsl(218, 72%, 43%)
HSVhsv(218, 83%, 73%)
CMYKcmyk(83.4%, 52.4%, 0%, 26.7%)
CIE-LABlab(39.62, 18.57, -56.79)
CIE-LCHlch(39.62, 59.74, 288.11°)
OKLaboklab(48.57% -0.0277 -0.1637)
OKLCHoklch(48.57% 0.166 260.4)
XYZxyz(13.1038, 11.0223, 48.4410)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F59BB #BB811F
analogous
#1FA7BB #1F59BB #331FBB
triadic
#1F59BB #BB1F59 #59BB1F
tetradic
#1F59BB #BB1FA7 #BB811F #1FBB33
square
#1F59BB #BB1FA7 #BB811F #1FBB33
split-complementary
#1F59BB #BB331F #A7BB1F
monochromatic
#0E2752 #164087 #1F59BB #3976DE #6E9BE7

Accessibility & contrast

On white

6.55
#1F59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#1F59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F59BB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F59BB#FFFFFF#000000##FFFFFF
##1F59BB1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165BE
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f59bb;
/* rgb */ color: rgb(31, 89, 187);
/* oklch */ color: oklch(48.6% 0.166 260.4);
Tailwind
colors: {
  custom: {
    50: '#7687d0',
    500: '#1f59bb',
    950: '#000000',
  },
}
SCSS
$custom: #1f59bb;
$custom-light: #7687d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f59bb",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 217.692,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.16607,
    "h": 260.4
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#1F59BB
secondary
#CDA869
accent
#AB3AEE
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #1F59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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