#1F53C2#1F53C2

#1F53C2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.183 H 262.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#1F53C2
RGBrgb(31, 83, 194)
HSLhsl(221, 72%, 44%)
HSVhsv(221, 84%, 76%)
CMYKcmyk(84%, 57.2%, 0%, 23.9%)
CIE-LABlab(38.50, 25.27, -62.69)
CIE-LCHlch(38.50, 67.59, 291.95°)
OKLaboklab(47.88% -0.0232 -0.1812)
OKLCHoklch(47.88% 0.183 262.7)
XYZxyz(13.3924, 10.3712, 52.3245)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53C2 #C28E1F
analogous
#1FA5C2 #1F53C2 #3D1FC2
triadic
#1F53C2 #C21F53 #53C21F
tetradic
#1F53C2 #C21FA5 #C28E1F #1FC23D
square
#1F53C2 #C21FA5 #C28E1F #1FC23D
split-complementary
#1F53C2 #C23D1F #A5C21F
monochromatic
#0E2658 #173C8D #1F53C2 #3E72E0 #7398E9

Accessibility & contrast

On white

6.83
#1F53C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1F53C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F53C2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53C2#FFFFFF#000000##FFFFFF
##1F53C21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f53c2;
/* rgb */ color: rgb(31, 83, 194);
/* oklch */ color: oklch(47.9% 0.183 262.7);
Tailwind
colors: {
  custom: {
    50: '#7882d5',
    500: '#1f53c2',
    950: '#000000',
  },
}
SCSS
$custom: #1f53c2;
$custom-light: #7882d5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53c2",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 194
  },
  "hsl": {
    "h": 220.859,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.1827,
    "h": 262.7
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F53C2

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

Preview Lab → · Contrast checker → · Palette generator →

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