#1F4690#1F4690

#1F4690 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.130 H 261.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#1F4690
RGBrgb(31, 70, 144)
HSLhsl(219, 65%, 34%)
HSVhsv(219, 78%, 56%)
CMYKcmyk(78.5%, 51.4%, 0%, 43.5%)
CIE-LABlab(31.08, 14.25, -44.88)
CIE-LCHlch(31.08, 47.09, 287.61°)
OKLaboklab(41.06% -0.0189 -0.1291)
OKLCHoklch(41.06% 0.13 261.7)
XYZxyz(7.7875, 6.6844, 27.2599)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4690 #90691F
analogous
#1F7F90 #1F4690 #311F90
triadic
#1F4690 #901F46 #46901F
tetradic
#1F4690 #901F7F #90691F #1F9031
square
#1F4690 #901F7F #90691F #1F9031
split-complementary
#1F4690 #90311F #7F901F
monochromatic
#09152B #142E5E #1F4690 #2A5EC2 #507FD9

Accessibility & contrast

On white

8.99
#1F4690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F4690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4690
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4690#FFFFFF#000000##FFFFFF
##1F46901.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F93
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4690;
/* rgb */ color: rgb(31, 70, 144);
/* oklch */ color: oklch(41.1% 0.130 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d78b1',
    500: '#1f4690',
    950: '#000000',
  },
}
SCSS
$custom: #1f4690;
$custom-light: #6d78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4690",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 219.292,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.13049,
    "h": 261.7
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#1F4690
secondary
#BC964E
accent
#AE40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F4690

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

Preview Lab → · Contrast checker → · Palette generator →

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