#1F44A6#1F44A6

#1F44A6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.164 H 264.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1F44A6
RGBrgb(31, 68, 166)
HSLhsl(224, 69%, 39%)
HSVhsv(224, 81%, 65%)
CMYKcmyk(81.3%, 59%, 0%, 34.9%)
CIE-LABlab(32.21, 24.35, -56.39)
CIE-LCHlch(32.21, 61.42, 293.36°)
OKLaboklab(42.45% -0.0155 -0.163)
OKLCHoklch(42.45% 0.164 264.6)
XYZxyz(9.5127, 7.1776, 36.9531)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F44A6 #A6811F
analogous
#1F87A6 #1F44A6 #3E1FA6
triadic
#1F44A6 #A61F44 #44A61F
tetradic
#1F44A6 #A61F87 #A6811F #1FA63E
square
#1F44A6 #A61F87 #A6811F #1FA63E
split-complementary
#1F44A6 #A63E1F #87A61F
monochromatic
#0C1A3F #152F72 #1F44A6 #2B5AD7 #5E82E1

Accessibility & contrast

On white

8.62
#1F44A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F44A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F44A6
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F44A6#FFFFFF#000000##FFFFFF
##1F44A61.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f44a6;
/* rgb */ color: rgb(31, 68, 166);
/* oklch */ color: oklch(42.5% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#7277c1',
    500: '#1f44a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f44a6;
$custom-light: #7277c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f44a6",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 166
  },
  "hsl": {
    "h": 223.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42452,
    "c": 0.16371,
    "h": 264.6
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#1F44A6
secondary
#C5A85B
accent
#BB3CEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F44A6

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

Preview Lab → · Contrast checker → · Palette generator →

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