#1F53A8#1F53A8

#1F53A8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.148 H 259.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#1F53A8
RGBrgb(31, 83, 168)
HSLhsl(217, 69%, 39%)
HSVhsv(217, 82%, 66%)
CMYKcmyk(81.5%, 50.6%, 0%, 34.1%)
CIE-LABlab(36.56, 15.04, -50.52)
CIE-LCHlch(36.56, 52.71, 286.58°)
OKLaboklab(45.8% -0.0259 -0.1454)
OKLCHoklch(45.8% 0.148 259.9)
XYZxyz(10.7236, 9.3037, 38.2688)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53A8 #A8741F
analogous
#1F98A8 #1F53A8 #301FA8
triadic
#1F53A8 #A81F53 #53A81F
tetradic
#1F53A8 #A81F98 #A8741F #1FA830
square
#1F53A8 #A81F98 #A8741F #1FA830
split-complementary
#1F53A8 #A8301F #98A81F
monochromatic
#0C2041 #153974 #1F53A8 #2C6DD8 #6091E2

Accessibility & contrast

On white

7.34
#1F53A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1F53A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F53A8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53A8#FFFFFF#000000##FFFFFF
##1F53A81.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5DAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f53a8;
/* rgb */ color: rgb(31, 83, 168);
/* oklch */ color: oklch(45.8% 0.148 259.9);
Tailwind
colors: {
  custom: {
    50: '#7282c2',
    500: '#1f53a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f53a8;
$custom-light: #7282c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53a8",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 168
  },
  "hsl": {
    "h": 217.226,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.1477,
    "h": 259.9
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#1F53A8
secondary
#C69E5D
accent
#A93CEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F53A8

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

Preview Lab → · Contrast checker → · Palette generator →

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