#1F49B2#1F49B2

#1F49B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.174 H 264.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1F49B2
RGBrgb(31, 73, 178)
HSLhsl(223, 70%, 41%)
HSVhsv(223, 83%, 70%)
CMYKcmyk(82.6%, 59%, 0%, 30.2%)
CIE-LABlab(34.54, 25.68, -59.75)
CIE-LCHlch(34.54, 65.03, 293.26°)
OKLaboklab(44.51% -0.0181 -0.1727)
OKLCHoklch(44.51% 0.174 264)
XYZxyz(10.9806, 8.2694, 43.1283)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F49B2 #B2881F
analogous
#1F92B2 #1F49B2 #3E1FB2
triadic
#1F49B2 #B21F49 #49B21F
tetradic
#1F49B2 #B21F92 #B2881F #1FB23E
square
#1F49B2 #B21F92 #B2881F #1FB23E
split-complementary
#1F49B2 #B23E1F #92B21F
monochromatic
#0D1E4A #16347E #1F49B2 #3363DB #678BE5

Accessibility & contrast

On white

7.91
#1F49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1F49B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F49B2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F49B2#FFFFFF#000000##FFFFFF
##1F49B21.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f49b2;
/* rgb */ color: rgb(31, 73, 178);
/* oklch */ color: oklch(44.5% 0.174 264.0);
Tailwind
colors: {
  custom: {
    50: '#757bca',
    500: '#1f49b2',
    950: '#000000',
  },
}
SCSS
$custom: #1f49b2;
$custom-light: #757bca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f49b2",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 222.857,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.17369,
    "h": 264
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#1F49B2
secondary
#CAAC63
accent
#BA3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1F49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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