#1F59B0#1F59B0

#1F59B0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.151 H 258.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#1F59B0
RGBrgb(31, 89, 176)
HSLhsl(216, 70%, 41%)
HSVhsv(216, 82%, 69%)
CMYKcmyk(82.4%, 49.4%, 0%, 31%)
CIE-LABlab(38.85, 14.23, -51.57)
CIE-LCHlch(38.85, 53.50, 285.42°)
OKLaboklab(47.73% -0.0292 -0.1484)
OKLCHoklch(47.73% 0.151 258.9)
XYZxyz(11.9711, 10.5692, 42.4750)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F59B0 #B0761F
analogous
#1FA1B0 #1F59B0 #2D1FB0
triadic
#1F59B0 #B01F59 #59B01F
tetradic
#1F59B0 #B01FA1 #B0761F #1FB02D
square
#1F59B0 #B01FA1 #B0761F #1FB02D
split-complementary
#1F59B0 #B02D1F #A1B01F
monochromatic
#0D2448 #163F7C #1F59B0 #3175DB #6598E4

Accessibility & contrast

On white

6.74
#1F59B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#1F59B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F59B0
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F59B0#FFFFFF#000000##FFFFFF
##1F59B01.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f59b0;
/* rgb */ color: rgb(31, 89, 176);
/* oklch */ color: oklch(47.7% 0.151 258.9);
Tailwind
colors: {
  custom: {
    50: '#7487c8',
    500: '#1f59b0',
    950: '#000000',
  },
}
SCSS
$custom: #1f59b0;
$custom-light: #7487c8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f59b0",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 176
  },
  "hsl": {
    "h": 216,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.15126,
    "h": 258.9
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#1F59B0
secondary
#C9A062
accent
#A63BED
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1F59B0

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

Preview Lab → · Contrast checker → · Palette generator →

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