#1F49AA#1F49AA

#1F49AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.163 H 263.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1F49AA
RGBrgb(31, 73, 170)
HSLhsl(222, 69%, 39%)
HSVhsv(222, 82%, 67%)
CMYKcmyk(81.8%, 57.1%, 0%, 33.3%)
CIE-LABlab(33.89, 22.55, -56.04)
CIE-LCHlch(33.89, 60.40, 291.92°)
OKLaboklab(43.82% -0.0186 -0.1618)
OKLCHoklch(43.82% 0.163 263.5)
XYZxyz(10.2007, 7.9574, 39.0207)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F49AA #AA801F
analogous
#1F8EAA #1F49AA #3B1FAA
triadic
#1F49AA #AA1F49 #49AA1F
tetradic
#1F49AA #AA1F8E #AA801F #1FAA3B
square
#1F49AA #AA1F8E #AA801F #1FAA3B
split-complementary
#1F49AA #AA3B1F #8EAA1F
monochromatic
#0C1D42 #163376 #1F49AA #2D61D9 #6188E2

Accessibility & contrast

On white

8.10
#1F49AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F49AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F49AA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F49AA#FFFFFF#000000##FFFFFF
##1F49AA1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f49aa;
/* rgb */ color: rgb(31, 73, 170);
/* oklch */ color: oklch(43.8% 0.163 263.5);
Tailwind
colors: {
  custom: {
    50: '#737bc4',
    500: '#1f49aa',
    950: '#000000',
  },
}
SCSS
$custom: #1f49aa;
$custom-light: #737bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f49aa",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 221.871,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.16291,
    "h": 263.5
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#1F49AA
secondary
#C7A75E
accent
#B73CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1F49AA

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

Preview Lab → · Contrast checker → · Palette generator →

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