#1F53B4#1F53B4

#1F53B4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.164 H 261.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#1F53B4
RGBrgb(31, 83, 180)
HSLhsl(219, 71%, 41%)
HSVhsv(219, 83%, 71%)
CMYKcmyk(82.8%, 53.9%, 0%, 29.4%)
CIE-LABlab(37.43, 19.79, -56.22)
CIE-LCHlch(37.43, 59.61, 289.39°)
OKLaboklab(46.74% -0.0244 -0.1622)
OKLCHoklch(46.74% 0.164 261.4)
XYZxyz(11.8936, 9.7717, 44.4304)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53B4 #B4801F
analogous
#1F9EB4 #1F53B4 #351FB4
triadic
#1F53B4 #B41F53 #53B41F
tetradic
#1F53B4 #B41F9E #B4801F #1FB435
square
#1F53B4 #B41F9E #B4801F #1FB435
split-complementary
#1F53B4 #B4351F #9EB41F
monochromatic
#0D234C #163B80 #1F53B4 #346FDC #6894E5

Accessibility & contrast

On white

7.11
#1F53B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F53B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F53B4
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53B4#FFFFFF#000000##FFFFFF
##1F53B41.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f53b4;
/* rgb */ color: rgb(31, 83, 180);
/* oklch */ color: oklch(46.7% 0.164 261.4);
Tailwind
colors: {
  custom: {
    50: '#7582cb',
    500: '#1f53b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f53b4;
$custom-light: #7582cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53b4",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 180
  },
  "hsl": {
    "h": 219.06,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.16403,
    "h": 261.4
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#1F53B4
secondary
#CBA764
accent
#AF3AED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1F53B4

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

Preview Lab → · Contrast checker → · Palette generator →

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