#1F519E#1F519E

#1F519E is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.136 H 259.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#1F519E
RGBrgb(31, 81, 158)
HSLhsl(216, 67%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(80.4%, 48.7%, 0%, 38%)
CIE-LABlab(35.29, 12.40, -46.59)
CIE-LCHlch(35.29, 48.21, 284.90°)
OKLaboklab(44.6% -0.0258 -0.1339)
OKLCHoklch(44.6% 0.136 259.1)
XYZxyz(9.6768, 8.6436, 33.4995)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F519E #9E6C1F
analogous
#1F919E #1F519E #2D1F9E
triadic
#1F519E #9E1F51 #519E1F
tetradic
#1F519E #9E1F91 #9E6C1F #1F9E2D
square
#1F519E #9E1F91 #9E6C1F #1F9E2D
split-complementary
#1F519E #9E2D1F #919E1F
monochromatic
#0B1D38 #15376B #1F519E #296BD1 #598EDE

Accessibility & contrast

On white

7.70
#1F519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F519E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F519E#FFFFFF#000000##FFFFFF
##1F519E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f519e;
/* rgb */ color: rgb(31, 81, 158);
/* oklch */ color: oklch(44.6% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#6f81bb',
    500: '#1f519e',
    950: '#000000',
  },
}
SCSS
$custom: #1f519e;
$custom-light: #6f81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f519e",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 216.378,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.13637,
    "h": 259.1
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#1F519E
secondary
#C29856
accent
#A63EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F519E

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

Preview Lab → · Contrast checker → · Palette generator →

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