#1F53AC#1F53AC

#1F53AC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.153 H 260.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#1F53AC
RGBrgb(31, 83, 172)
HSLhsl(218, 69%, 40%)
HSVhsv(218, 82%, 67%)
CMYKcmyk(82%, 51.7%, 0%, 32.5%)
CIE-LABlab(36.85, 16.63, -52.44)
CIE-LCHlch(36.85, 55.01, 287.59°)
OKLaboklab(46.11% -0.0253 -0.1511)
OKLCHoklch(46.11% 0.153 260.5)
XYZxyz(11.1020, 9.4550, 40.2616)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53AC #AC781F
analogous
#1F9AAC #1F53AC #311FAC
triadic
#1F53AC #AC1F53 #53AC1F
tetradic
#1F53AC #AC1F9A #AC781F #1FAC31
square
#1F53AC #AC1F9A #AC781F #1FAC31
split-complementary
#1F53AC #AC311F #9AAC1F
monochromatic
#0C2144 #163A78 #1F53AC #2F6ED9 #6392E3

Accessibility & contrast

On white

7.26
#1F53AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F53AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F53AC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53AC#FFFFFF#000000##FFFFFF
##1F53AC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f53ac;
/* rgb */ color: rgb(31, 83, 172);
/* oklch */ color: oklch(46.1% 0.153 260.5);
Tailwind
colors: {
  custom: {
    50: '#7382c5',
    500: '#1f53ac',
    950: '#000000',
  },
}
SCSS
$custom: #1f53ac;
$custom-light: #7382c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53ac",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 172
  },
  "hsl": {
    "h": 217.872,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.15318,
    "h": 260.5
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#1F53AC
secondary
#C8A15F
accent
#AB3CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1F53AC

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

Preview Lab → · Contrast checker → · Palette generator →

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