#1F53A9#1F53A9

#1F53A9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.149 H 260.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#1F53A9
RGBrgb(31, 83, 169)
HSLhsl(217, 69%, 39%)
HSVhsv(217, 82%, 66%)
CMYKcmyk(81.7%, 50.9%, 0%, 33.7%)
CIE-LABlab(36.63, 15.44, -51.00)
CIE-LCHlch(36.63, 53.28, 286.84°)
OKLaboklab(45.88% -0.0257 -0.1468)
OKLCHoklch(45.88% 0.149 260.1)
XYZxyz(10.8172, 9.3411, 38.7613)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53A9 #A9751F
analogous
#1F98A9 #1F53A9 #301FA9
triadic
#1F53A9 #A91F53 #53A91F
tetradic
#1F53A9 #A91F98 #A9751F #1FA930
square
#1F53A9 #A91F98 #A9751F #1FA930
split-complementary
#1F53A9 #A9301F #98A91F
monochromatic
#0C2042 #163A75 #1F53A9 #2D6DD8 #6091E2

Accessibility & contrast

On white

7.32
#1F53A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1F53A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F53A9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53A9#FFFFFF#000000##FFFFFF
##1F53A91.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f53a9;
/* rgb */ color: rgb(31, 83, 169);
/* oklch */ color: oklch(45.9% 0.149 260.1);
Tailwind
colors: {
  custom: {
    50: '#7282c3',
    500: '#1f53a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f53a9;
$custom-light: #7282c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53a9",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 169
  },
  "hsl": {
    "h": 217.391,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.14908,
    "h": 260.1
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#1F53A9
secondary
#C79F5D
accent
#AA3CEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F53A9

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

Preview Lab → · Contrast checker → · Palette generator →

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