#1F59B4#1F59B4

#1F59B4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.157 H 259.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#1F59B4
RGBrgb(31, 89, 180)
HSLhsl(217, 71%, 41%)
HSVhsv(217, 83%, 71%)
CMYKcmyk(82.8%, 50.6%, 0%, 29.4%)
CIE-LABlab(39.12, 15.81, -53.48)
CIE-LCHlch(39.12, 55.77, 286.47°)
OKLaboklab(48.03% -0.0286 -0.154)
OKLCHoklch(48.03% 0.157 259.5)
XYZxyz(12.3727, 10.7298, 44.5901)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F59B4 #B47A1F
analogous
#1FA4B4 #1F59B4 #2F1FB4
triadic
#1F59B4 #B41F59 #59B41F
tetradic
#1F59B4 #B41FA4 #B47A1F #1FB42F
square
#1F59B4 #B41FA4 #B47A1F #1FB42F
split-complementary
#1F59B4 #B42F1F #A4B41F
monochromatic
#0D254C #163F80 #1F59B4 #3476DC #6899E5

Accessibility & contrast

On white

6.67
#1F59B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#1F59B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F59B4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F59B4#FFFFFF#000000##FFFFFF
##1F59B41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f59b4;
/* rgb */ color: rgb(31, 89, 180);
/* oklch */ color: oklch(48.0% 0.157 259.5);
Tailwind
colors: {
  custom: {
    50: '#7587cb',
    500: '#1f59b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f59b4;
$custom-light: #7587cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f59b4",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 216.644,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.15667,
    "h": 259.5
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#1F59B4
secondary
#CBA364
accent
#A83AED
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1F59B4

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

Preview Lab → · Contrast checker → · Palette generator →

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