#1F4694#1F4694

#1F4694 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.136 H 262.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#1F4694
RGBrgb(31, 70, 148)
HSLhsl(220, 65%, 35%)
HSVhsv(220, 79%, 58%)
CMYKcmyk(79.1%, 52.7%, 0%, 42%)
CIE-LABlab(31.37, 15.85, -46.86)
CIE-LCHlch(31.37, 49.47, 288.69°)
OKLaboklab(41.38% -0.0184 -0.1349)
OKLCHoklch(41.38% 0.136 262.2)
XYZxyz(8.0986, 6.8088, 28.8986)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4694 #946D1F
analogous
#1F8094 #1F4694 #331F94
triadic
#1F4694 #941F46 #46941F
tetradic
#1F4694 #941F80 #946D1F #1F9433
square
#1F4694 #941F80 #946D1F #1F9433
split-complementary
#1F4694 #94331F #80941F
monochromatic
#0A162F #142E61 #1F4694 #2A5EC7 #5380DB

Accessibility & contrast

On white

8.89
#1F4694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1F4694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4694
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4694#FFFFFF#000000##FFFFFF
##1F46941.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4694;
/* rgb */ color: rgb(31, 70, 148);
/* oklch */ color: oklch(41.4% 0.136 262.2);
Tailwind
colors: {
  custom: {
    50: '#6d78b4',
    500: '#1f4694',
    950: '#000000',
  },
}
SCSS
$custom: #1f4694;
$custom-light: #6d78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4694",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 148
  },
  "hsl": {
    "h": 220,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.13617,
    "h": 262.2
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#1F4694
secondary
#BE9A51
accent
#B03FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F4694

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

Preview Lab → · Contrast checker → · Palette generator →

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