#1F44A7#1F44A7

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

Color values

HEX#1F44A7
RGBrgb(31, 68, 167)
HSLhsl(224, 69%, 39%)
HSVhsv(224, 81%, 65%)
CMYKcmyk(81.4%, 59.3%, 0%, 34.5%)
CIE-LABlab(32.29, 24.74, -56.85)
CIE-LCHlch(32.29, 62.01, 293.52°)
OKLaboklab(42.54% -0.0155 -0.1643)
OKLCHoklch(42.54% 0.165 264.6)
XYZxyz(9.6048, 7.2144, 37.4380)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F44A7 #A7821F
analogous
#1F88A7 #1F44A7 #3E1FA7
triadic
#1F44A7 #A71F44 #44A71F
tetradic
#1F44A7 #A71F88 #A7821F #1FA73E
square
#1F44A7 #A71F88 #A7821F #1FA73E
split-complementary
#1F44A7 #A73E1F #88A71F
monochromatic
#0C1A40 #152F73 #1F44A7 #2B5AD8 #5F83E1

Accessibility & contrast

On white

8.60
#1F44A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F44A7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F44A7#FFFFFF#000000##FFFFFF
##1F44A71.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f44a7;
/* rgb */ color: rgb(31, 68, 167);
/* oklch */ color: oklch(42.5% 0.165 264.6);
Tailwind
colors: {
  custom: {
    50: '#7277c2',
    500: '#1f44a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f44a7;
$custom-light: #7277c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f44a7",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 167
  },
  "hsl": {
    "h": 223.676,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.16507,
    "h": 264.6
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#1F44A7
secondary
#C6A95C
accent
#BC3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F44A7

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

Preview Lab → · Contrast checker → · Palette generator →

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