#1F519B#1F519B

#1F519B is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.132 H 258.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#1F519B
RGBrgb(31, 81, 155)
HSLhsl(216, 67%, 36%)
HSVhsv(216, 80%, 61%)
CMYKcmyk(80%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.09, 11.20, -45.11)
CIE-LCHlch(35.09, 46.48, 283.95°)
OKLaboklab(44.38% -0.0263 -0.1295)
OKLCHoklch(44.38% 0.132 258.5)
XYZxyz(9.4217, 8.5416, 32.1561)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F519B #9B691F
analogous
#1F8F9B #1F519B #2B1F9B
triadic
#1F519B #9B1F51 #519B1F
tetradic
#1F519B #9B1F8F #9B691F #1F9B2B
square
#1F519B #9B1F8F #9B691F #1F9B2B
split-complementary
#1F519B #9B2B1F #8F9B1F
monochromatic
#0B1C35 #153668 #1F519B #296CCE #578DDD

Accessibility & contrast

On white

7.75
#1F519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F519B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F519B#FFFFFF#000000##FFFFFF
##1F519B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599E
Deuteranopia (green-blind)
#044D9A
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f519b;
/* rgb */ color: rgb(31, 81, 155);
/* oklch */ color: oklch(44.4% 0.132 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f81b9',
    500: '#1f519b',
    950: '#000000',
  },
}
SCSS
$custom: #1f519b;
$custom-light: #6f81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f519b",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 215.806,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44382,
    "c": 0.13219,
    "h": 258.5
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

primary
#1F519B
secondary
#C19555
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F519B

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

Preview Lab → · Contrast checker → · Palette generator →

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