#1F53A6#1F53A6

#1F53A6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.145 H 259.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#1F53A6
RGBrgb(31, 83, 166)
HSLhsl(217, 69%, 39%)
HSVhsv(217, 81%, 65%)
CMYKcmyk(81.3%, 50%, 0%, 34.9%)
CIE-LABlab(36.42, 14.25, -49.55)
CIE-LCHlch(36.42, 51.56, 286.04°)
OKLaboklab(45.65% -0.0261 -0.1426)
OKLCHoklch(45.65% 0.145 259.6)
XYZxyz(10.5388, 9.2297, 37.2951)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F53A6 #A6721F
analogous
#1F96A6 #1F53A6 #2E1FA6
triadic
#1F53A6 #A61F53 #53A61F
tetradic
#1F53A6 #A61F96 #A6721F #1FA62E
square
#1F53A6 #A61F96 #A6721F #1FA62E
split-complementary
#1F53A6 #A62E1F #96A61F
monochromatic
#0C1F3F #153972 #1F53A6 #2B6DD7 #5E91E1

Accessibility & contrast

On white

7.38
#1F53A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F53A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F53A6
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F53A6#FFFFFF#000000##FFFFFF
##1F53A61.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f53a6;
/* rgb */ color: rgb(31, 83, 166);
/* oklch */ color: oklch(45.6% 0.145 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182c1',
    500: '#1f53a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f53a6;
$custom-light: #7182c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f53a6",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 166
  },
  "hsl": {
    "h": 216.889,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.14496,
    "h": 259.6
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#1F53A6
secondary
#C59D5B
accent
#A83CEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F53A6

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

Preview Lab → · Contrast checker → · Palette generator →

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