#1F49A0#1F49A0

#1F49A0 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.149 H 262.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1F49A0
RGBrgb(31, 73, 160)
HSLhsl(220, 68%, 37%)
HSVhsv(220, 81%, 63%)
CMYKcmyk(80.6%, 54.4%, 0%, 37.3%)
CIE-LABlab(33.12, 18.59, -51.30)
CIE-LCHlch(33.12, 54.56, 289.92°)
OKLaboklab(42.99% -0.0194 -0.1479)
OKLCHoklch(42.99% 0.149 262.5)
XYZxyz(9.2905, 7.5934, 34.2269)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F49A0 #A0761F
analogous
#1F8AA0 #1F49A0 #351FA0
triadic
#1F49A0 #A01F49 #49A01F
tetradic
#1F49A0 #A01F8A #A0761F #1FA035
square
#1F49A0 #A01F8A #A0761F #1FA035
split-complementary
#1F49A0 #A0351F #8AA01F
monochromatic
#0B1A39 #15326D #1F49A0 #2960D3 #5A86DF

Accessibility & contrast

On white

8.34
#1F49A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1F49A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F49A0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F49A0#FFFFFF#000000##FFFFFF
##1F49A01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0154A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f49a0;
/* rgb */ color: rgb(31, 73, 160);
/* oklch */ color: oklch(43.0% 0.149 262.5);
Tailwind
colors: {
  custom: {
    50: '#707bbd',
    500: '#1f49a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f49a0;
$custom-light: #707bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f49a0",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 160
  },
  "hsl": {
    "h": 220.465,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42993,
    "c": 0.14917,
    "h": 262.5
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#1F49A0
secondary
#C3A058
accent
#B23DEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F49A0

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

Preview Lab → · Contrast checker → · Palette generator →

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