#1F53A4#1F53A4

#1F53A4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.142 H 259.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#1F53A4
RGBrgb(31, 83, 164)
HSLhsl(217, 68%, 38%)
HSVhsv(217, 81%, 64%)
CMYKcmyk(81.1%, 49.4%, 0%, 35.7%)
CIE-LABlab(36.28, 13.45, -48.58)
CIE-LCHlch(36.28, 50.41, 285.48°)
OKLaboklab(45.5% -0.0264 -0.1397)
OKLCHoklch(45.5% 0.142 259.3)
XYZxyz(10.3567, 9.1569, 36.3364)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53A4 #A4701F
analogous
#1F95A4 #1F53A4 #2D1FA4
triadic
#1F53A4 #A41F53 #53A41F
tetradic
#1F53A4 #A41F95 #A4701F #1FA42D
square
#1F53A4 #A41F95 #A4701F #1FA42D
split-complementary
#1F53A4 #A42D1F #95A41F
monochromatic
#0C1F3D #153971 #1F53A4 #2A6DD7 #5D90E0

Accessibility & contrast

On white

7.42
#1F53A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1F53A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F53A4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53A4#FFFFFF#000000##FFFFFF
##1F53A41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f53a4;
/* rgb */ color: rgb(31, 83, 164);
/* oklch */ color: oklch(45.5% 0.142 259.3);
Tailwind
colors: {
  custom: {
    50: '#7182bf',
    500: '#1f53a4',
    950: '#000000',
  },
}
SCSS
$custom: #1f53a4;
$custom-light: #7182bf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53a4",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 164
  },
  "hsl": {
    "h": 216.541,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.1422,
    "h": 259.3
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#1F53A4
secondary
#C59B5A
accent
#A73DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F53A4

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

Preview Lab → · Contrast checker → · Palette generator →

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