#1F44A5#1F44A5

#1F44A5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.162 H 264.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1F44A5
RGBrgb(31, 68, 165)
HSLhsl(223, 68%, 38%)
HSVhsv(223, 81%, 65%)
CMYKcmyk(81.2%, 58.8%, 0%, 35.3%)
CIE-LABlab(32.13, 23.96, -55.92)
CIE-LCHlch(32.13, 60.84, 293.19°)
OKLaboklab(42.37% -0.0156 -0.1616)
OKLCHoklch(42.37% 0.162 264.5)
XYZxyz(9.4213, 7.1410, 36.4718)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F44A5 #A5801F
analogous
#1F87A5 #1F44A5 #3D1FA5
triadic
#1F44A5 #A51F44 #44A51F
tetradic
#1F44A5 #A51F87 #A5801F #1FA53D
square
#1F44A5 #A51F87 #A5801F #1FA53D
split-complementary
#1F44A5 #A53D1F #87A51F
monochromatic
#0C1A3E #152F71 #1F44A5 #2A5AD7 #5E82E1

Accessibility & contrast

On white

8.65
#1F44A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1F44A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F44A5
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F44A5#FFFFFF#000000##FFFFFF
##1F44A51.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f44a5;
/* rgb */ color: rgb(31, 68, 165);
/* oklch */ color: oklch(42.4% 0.162 264.5);
Tailwind
colors: {
  custom: {
    50: '#7277c0',
    500: '#1f44a5',
    950: '#000000',
  },
}
SCSS
$custom: #1f44a5;
$custom-light: #7277c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f44a5",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 223.433,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.16235,
    "h": 264.5
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#1F44A5
secondary
#C5A85B
accent
#BB3DEB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F44A5

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

Preview Lab → · Contrast checker → · Palette generator →

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