#1F59AD#1F59AD

#1F59AD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.147 H 258.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#1F59AD
RGBrgb(31, 89, 173)
HSLhsl(215, 70%, 40%)
HSVhsv(215, 82%, 68%)
CMYKcmyk(82.1%, 48.6%, 0%, 32.2%)
CIE-LABlab(38.64, 13.04, -50.13)
CIE-LCHlch(38.64, 51.80, 284.58°)
OKLaboklab(47.51% -0.0297 -0.1442)
OKLCHoklch(47.51% 0.147 258.4)
XYZxyz(11.6775, 10.4518, 40.9290)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F59AD #AD731F
analogous
#1FA0AD #1F59AD #2C1FAD
triadic
#1F59AD #AD1F59 #59AD1F
tetradic
#1F59AD #AD1FA0 #AD731F #1FAD2C
square
#1F59AD #AD1FA0 #AD731F #1FAD2C
split-complementary
#1F59AD #AD2C1F #A0AD1F
monochromatic
#0C2445 #163E79 #1F59AD #2F75DA #6397E3

Accessibility & contrast

On white

6.79
#1F59AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1F59AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F59AD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F59AD#FFFFFF#000000##FFFFFF
##1F59AD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f59ad;
/* rgb */ color: rgb(31, 89, 173);
/* oklch */ color: oklch(47.5% 0.147 258.4);
Tailwind
colors: {
  custom: {
    50: '#7387c6',
    500: '#1f59ad',
    950: '#000000',
  },
}
SCSS
$custom: #1f59ad;
$custom-light: #7387c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f59ad",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 173
  },
  "hsl": {
    "h": 215.493,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.14718,
    "h": 258.4
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#1F59AD
secondary
#C89D60
accent
#A43BEC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F59AD

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

Preview Lab → · Contrast checker → · Palette generator →

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