#1F49A6#1F49A6

#1F49A6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.157 H 263.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1F49A6
RGBrgb(31, 73, 166)
HSLhsl(221, 69%, 39%)
HSVhsv(221, 81%, 65%)
CMYKcmyk(81.3%, 56%, 0%, 34.9%)
CIE-LABlab(33.58, 20.97, -54.15)
CIE-LCHlch(33.58, 58.07, 291.17°)
OKLaboklab(43.49% -0.0188 -0.1563)
OKLCHoklch(43.49% 0.157 263.1)
XYZxyz(9.8281, 7.8084, 37.0582)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F49A6 #A67C1F
analogous
#1F8CA6 #1F49A6 #381FA6
triadic
#1F49A6 #A61F49 #49A61F
tetradic
#1F49A6 #A61F8C #A67C1F #1FA638
square
#1F49A6 #A61F8C #A67C1F #1FA638
split-complementary
#1F49A6 #A6381F #8CA61F
monochromatic
#0C1C3F #153272 #1F49A6 #2B61D7 #5E87E1

Accessibility & contrast

On white

8.20
#1F49A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1F49A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F49A6
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F49A6#FFFFFF#000000##FFFFFF
##1F49A61.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f49a6;
/* rgb */ color: rgb(31, 73, 166);
/* oklch */ color: oklch(43.5% 0.157 263.1);
Tailwind
colors: {
  custom: {
    50: '#727bc1',
    500: '#1f49a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f49a6;
$custom-light: #727bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f49a6",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 166
  },
  "hsl": {
    "h": 221.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.15745,
    "h": 263.1
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#1F49A6
secondary
#C5A45B
accent
#B53CEB
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F49A6

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

Preview Lab → · Contrast checker → · Palette generator →

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