#1F44A8#1F44A8

#1F44A8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.166 H 264.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1F44A8
RGBrgb(31, 68, 168)
HSLhsl(224, 69%, 39%)
HSVhsv(224, 82%, 66%)
CMYKcmyk(81.5%, 59.5%, 0%, 34.1%)
CIE-LABlab(32.37, 25.14, -57.32)
CIE-LCHlch(32.37, 62.59, 293.68°)
OKLaboklab(42.63% -0.0154 -0.1657)
OKLCHoklch(42.63% 0.166 264.7)
XYZxyz(9.6976, 7.2515, 37.9268)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F44A8 #A8831F
analogous
#1F89A8 #1F44A8 #3F1FA8
triadic
#1F44A8 #A81F44 #44A81F
tetradic
#1F44A8 #A81F89 #A8831F #1FA83F
square
#1F44A8 #A81F89 #A8831F #1FA83F
split-complementary
#1F44A8 #A83F1F #89A81F
monochromatic
#0C1A41 #152F74 #1F44A8 #2C5BD8 #6083E2

Accessibility & contrast

On white

8.57
#1F44A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1F44A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F44A8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F44A8#FFFFFF#000000##FFFFFF
##1F44A81.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f44a8;
/* rgb */ color: rgb(31, 68, 168);
/* oklch */ color: oklch(42.6% 0.166 264.7);
Tailwind
colors: {
  custom: {
    50: '#7377c3',
    500: '#1f44a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f44a8;
$custom-light: #7377c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f44a8",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 168
  },
  "hsl": {
    "h": 223.796,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.16642,
    "h": 264.7
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#1F44A8
secondary
#C6AA5D
accent
#BC3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1F44A8

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

Preview Lab → · Contrast checker → · Palette generator →

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