#1F49A4#1F49A4

#1F49A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.155 H 262.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1F49A4
RGBrgb(31, 73, 164)
HSLhsl(221, 68%, 38%)
HSVhsv(221, 81%, 64%)
CMYKcmyk(81.1%, 55.5%, 0%, 35.7%)
CIE-LABlab(33.43, 20.18, -53.21)
CIE-LCHlch(33.43, 56.91, 290.77°)
OKLaboklab(43.32% -0.019 -0.1535)
OKLCHoklch(43.32% 0.155 262.9)
XYZxyz(9.6461, 7.7356, 36.0995)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F49A4 #A47A1F
analogous
#1F8BA4 #1F49A4 #381FA4
triadic
#1F49A4 #A41F49 #49A41F
tetradic
#1F49A4 #A41F8B #A47A1F #1FA438
square
#1F49A4 #A41F8B #A47A1F #1FA438
split-complementary
#1F49A4 #A4381F #8BA41F
monochromatic
#0C1B3D #153271 #1F49A4 #2A60D7 #5D86E0

Accessibility & contrast

On white

8.24
#1F49A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1F49A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F49A4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F49A4#FFFFFF#000000##FFFFFF
##1F49A41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f49a4;
/* rgb */ color: rgb(31, 73, 164);
/* oklch */ color: oklch(43.3% 0.155 262.9);
Tailwind
colors: {
  custom: {
    50: '#717bc0',
    500: '#1f49a4',
    950: '#000000',
  },
}
SCSS
$custom: #1f49a4;
$custom-light: #717bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f49a4",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 164
  },
  "hsl": {
    "h": 221.053,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4332,
    "c": 0.1547,
    "h": 262.9
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#1F49A4
secondary
#C5A35A
accent
#B43DEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F49A4

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

Preview Lab → · Contrast checker → · Palette generator →

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