#1F49A7#1F49A7

#1F49A7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.159 H 263.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1F49A7
RGBrgb(31, 73, 167)
HSLhsl(221, 69%, 39%)
HSVhsv(221, 81%, 65%)
CMYKcmyk(81.4%, 56.3%, 0%, 34.5%)
CIE-LABlab(33.66, 21.37, -54.63)
CIE-LCHlch(33.66, 58.66, 291.36°)
OKLaboklab(43.57% -0.0188 -0.1577)
OKLCHoklch(43.57% 0.159 263.2)
XYZxyz(9.9202, 7.8452, 37.5432)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F49A7 #A77D1F
analogous
#1F8DA7 #1F49A7 #391FA7
triadic
#1F49A7 #A71F49 #49A71F
tetradic
#1F49A7 #A71F8D #A77D1F #1FA739
square
#1F49A7 #A71F8D #A77D1F #1FA739
split-complementary
#1F49A7 #A7391F #8DA71F
monochromatic
#0C1C40 #153273 #1F49A7 #2B61D8 #5F87E1

Accessibility & contrast

On white

8.17
#1F49A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1F49A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F49A7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F49A7#FFFFFF#000000##FFFFFF
##1F49A71.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f49a7;
/* rgb */ color: rgb(31, 73, 167);
/* oklch */ color: oklch(43.6% 0.159 263.2);
Tailwind
colors: {
  custom: {
    50: '#727bc2',
    500: '#1f49a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f49a7;
$custom-light: #727bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f49a7",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 221.471,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.15881,
    "h": 263.2
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#1F49A7
secondary
#C6A55C
accent
#B53CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F49A7

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

Preview Lab → · Contrast checker → · Palette generator →

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