#1F59B3#1F59B3

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

Color values

HEX#1F59B3
RGBrgb(31, 89, 179)
HSLhsl(216, 70%, 41%)
HSVhsv(216, 83%, 70%)
CMYKcmyk(82.7%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.05, 15.42, -53.01)
CIE-LCHlch(39.05, 55.20, 286.21°)
OKLaboklab(47.95% -0.0288 -0.1526)
OKLCHoklch(47.95% 0.155 259.3)
XYZxyz(12.2712, 10.6892, 44.0556)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F59B3 #B3791F
analogous
#1FA3B3 #1F59B3 #2F1FB3
triadic
#1F59B3 #B31F59 #59B31F
tetradic
#1F59B3 #B31FA3 #B3791F #1FB32F
square
#1F59B3 #B31FA3 #B3791F #1FB32F
split-complementary
#1F59B3 #B32F1F #A3B31F
monochromatic
#0D254B #163F7F #1F59B3 #3375DC #6899E5

Accessibility & contrast

On white

6.69
#1F59B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#1F59B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F59B3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F59B3#FFFFFF#000000##FFFFFF
##1F59B31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f59b3;
/* rgb */ color: rgb(31, 89, 179);
/* oklch */ color: oklch(48.0% 0.155 259.3);
Tailwind
colors: {
  custom: {
    50: '#7487ca',
    500: '#1f59b3',
    950: '#000000',
  },
}
SCSS
$custom: #1f59b3;
$custom-light: #7487ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f59b3",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 216.486,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.15532,
    "h": 259.3
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#1F59B3
secondary
#CAA264
accent
#A73BED
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1F59B3

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

Preview Lab → · Contrast checker → · Palette generator →

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