#1F50A0#1F50A0

#1F50A0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.140 H 259.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#1F50A0
RGBrgb(31, 80, 160)
HSLhsl(217, 68%, 37%)
HSVhsv(217, 81%, 63%)
CMYKcmyk(80.6%, 50%, 0%, 37.3%)
CIE-LABlab(35.13, 13.87, -48.04)
CIE-LCHlch(35.13, 50.00, 286.10°)
OKLaboklab(44.53% -0.0247 -0.1382)
OKLCHoklch(44.53% 0.14 259.9)
XYZxyz(9.7766, 8.5655, 34.3889)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F50A0 #A06F1F
analogous
#1F91A0 #1F50A0 #2E1FA0
triadic
#1F50A0 #A01F50 #50A01F
tetradic
#1F50A0 #A01F91 #A06F1F #1FA02E
square
#1F50A0 #A01F91 #A06F1F #1FA02E
split-complementary
#1F50A0 #A02E1F #91A01F
monochromatic
#0B1D39 #15366D #1F50A0 #296AD3 #5A8DDF

Accessibility & contrast

On white

7.74
#1F50A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F50A0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F50A0#FFFFFF#000000##FFFFFF
##1F50A01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f50a0;
/* rgb */ color: rgb(31, 80, 160);
/* oklch */ color: oklch(44.5% 0.140 259.9);
Tailwind
colors: {
  custom: {
    50: '#7080bd',
    500: '#1f50a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f50a0;
$custom-light: #7080bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f50a0",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 160
  },
  "hsl": {
    "h": 217.209,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.14038,
    "h": 259.9
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#1F50A0
secondary
#C39A58
accent
#A93DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F50A0

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

Preview Lab → · Contrast checker → · Palette generator →

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