#1F44A1#1F44A1

#1F44A1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.157 H 264.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#1F44A1
RGBrgb(31, 68, 161)
HSLhsl(223, 68%, 38%)
HSVhsv(223, 81%, 63%)
CMYKcmyk(80.7%, 57.8%, 0%, 36.9%)
CIE-LABlab(31.80, 22.38, -54.04)
CIE-LCHlch(31.80, 58.50, 292.50°)
OKLaboklab(42.02% -0.0158 -0.1561)
OKLCHoklch(42.02% 0.157 264.2)
XYZxyz(9.0629, 6.9977, 34.5843)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F44A1 #A17C1F
analogous
#1F85A1 #1F44A1 #3B1FA1
triadic
#1F44A1 #A11F44 #44A11F
tetradic
#1F44A1 #A11F85 #A17C1F #1FA13B
square
#1F44A1 #A11F85 #A17C1F #1FA13B
split-complementary
#1F44A1 #A13B1F #85A11F
monochromatic
#0B193A #152E6E #1F44A1 #295AD4 #5B81DF

Accessibility & contrast

On white

8.75
#1F44A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1F44A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F44A1
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F44A1#FFFFFF#000000##FFFFFF
##1F44A11.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f44a1;
/* rgb */ color: rgb(31, 68, 161);
/* oklch */ color: oklch(42.0% 0.157 264.2);
Tailwind
colors: {
  custom: {
    50: '#7177be',
    500: '#1f44a1',
    950: '#000000',
  },
}
SCSS
$custom: #1f44a1;
$custom-light: #7177be;
$custom-dark: #000000;
JSON
{
  "hex": "#1f44a1",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 161
  },
  "hsl": {
    "h": 222.923,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.15688,
    "h": 264.2
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#1F44A1
secondary
#C4A558
accent
#B93DEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F44A1

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

Preview Lab → · Contrast checker → · Palette generator →

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