#1F53C3#1F53C3

#1F53C3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.184 H 262.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#1F53C3
RGBrgb(31, 83, 195)
HSLhsl(221, 73%, 44%)
HSVhsv(221, 84%, 76%)
CMYKcmyk(84.1%, 57.4%, 0%, 23.5%)
CIE-LABlab(38.58, 25.65, -63.14)
CIE-LCHlch(38.58, 68.15, 292.11°)
OKLaboklab(47.97% -0.0232 -0.1825)
OKLCHoklch(47.97% 0.184 262.8)
XYZxyz(13.5051, 10.4163, 52.9179)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53C3 #C38F1F
analogous
#1FA5C3 #1F53C3 #3D1FC3
triadic
#1F53C3 #C31F53 #53C31F
tetradic
#1F53C3 #C31FA5 #C38F1F #1FC33D
square
#1F53C3 #C31FA5 #C38F1F #1FC33D
split-complementary
#1F53C3 #C33D1F #A5C31F
monochromatic
#0E2659 #173D8E #1F53C3 #3F72E0 #7499E9

Accessibility & contrast

On white

6.81
#1F53C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#1F53C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F53C3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53C3#FFFFFF#000000##FFFFFF
##1F53C31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f53c3;
/* rgb */ color: rgb(31, 83, 195);
/* oklch */ color: oklch(48.0% 0.184 262.8);
Tailwind
colors: {
  custom: {
    50: '#7982d6',
    500: '#1f53c3',
    950: '#000000',
  },
}
SCSS
$custom: #1f53c3;
$custom-light: #7982d6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53c3",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 195
  },
  "hsl": {
    "h": 220.976,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47968,
    "c": 0.18401,
    "h": 262.8
  },
  "luminance": 0.10418
}

Semantic roles & 50–950 ramp

primary
#1F53C3
secondary
#D0B16E
accent
#B539EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #1F53C3

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

Preview Lab → · Contrast checker → · Palette generator →

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