#1F50A9#1F50A9

#1F50A9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.153 H 261.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#1F50A9
RGBrgb(31, 80, 169)
HSLhsl(219, 69%, 39%)
HSVhsv(219, 82%, 66%)
CMYKcmyk(81.7%, 52.7%, 0%, 33.7%)
CIE-LABlab(35.78, 17.45, -52.39)
CIE-LCHlch(35.78, 55.22, 288.42°)
OKLaboklab(45.22% -0.0235 -0.151)
OKLCHoklch(45.22% 0.153 261.1)
XYZxyz(10.5926, 8.8919, 38.6865)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F50A9 #A9781F
analogous
#1F95A9 #1F50A9 #331FA9
triadic
#1F50A9 #A91F50 #50A91F
tetradic
#1F50A9 #A91F95 #A9781F #1FA933
square
#1F50A9 #A91F95 #A9781F #1FA933
split-complementary
#1F50A9 #A9331F #95A91F
monochromatic
#0C1F42 #163875 #1F50A9 #2D6AD8 #608EE2

Accessibility & contrast

On white

7.56
#1F50A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1F50A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F50A9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F50A9#FFFFFF#000000##FFFFFF
##1F50A91.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f50a9;
/* rgb */ color: rgb(31, 80, 169);
/* oklch */ color: oklch(45.2% 0.153 261.1);
Tailwind
colors: {
  custom: {
    50: '#7280c3',
    500: '#1f50a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f50a9;
$custom-light: #7280c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f50a9",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 169
  },
  "hsl": {
    "h": 218.696,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.1528,
    "h": 261.1
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#1F50A9
secondary
#C7A15D
accent
#AD3CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1F50A9

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

Preview Lab → · Contrast checker → · Palette generator →

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