#1F49B4#1F49B4

#1F49B4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.176 H 264.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#1F49B4
RGBrgb(31, 73, 180)
HSLhsl(223, 71%, 41%)
HSVhsv(223, 83%, 71%)
CMYKcmyk(82.8%, 59.4%, 0%, 29.4%)
CIE-LABlab(34.70, 26.46, -60.66)
CIE-LCHlch(34.70, 66.18, 293.57°)
OKLaboklab(44.68% -0.018 -0.1754)
OKLCHoklch(44.68% 0.176 264.1)
XYZxyz(11.1829, 8.3503, 44.1935)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F49B4 #B48A1F
analogous
#1F94B4 #1F49B4 #401FB4
triadic
#1F49B4 #B41F49 #49B41F
tetradic
#1F49B4 #B41F94 #B48A1F #1FB440
square
#1F49B4 #B41F94 #B48A1F #1FB440
split-complementary
#1F49B4 #B4401F #94B41F
monochromatic
#0D1F4C #163480 #1F49B4 #3463DC #688CE5

Accessibility & contrast

On white

7.86
#1F49B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1F49B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F49B4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F49B4#FFFFFF#000000##FFFFFF
##1F49B41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f49b4;
/* rgb */ color: rgb(31, 73, 180);
/* oklch */ color: oklch(44.7% 0.176 264.1);
Tailwind
colors: {
  custom: {
    50: '#757bcb',
    500: '#1f49b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f49b4;
$custom-light: #757bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f49b4",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 223.087,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.17636,
    "h": 264.1
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#1F49B4
secondary
#CBAE64
accent
#BB3AED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1F49B4

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

Preview Lab → · Contrast checker → · Palette generator →

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