#1F3769#1F3769

#1F3769 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.092 H 263.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1F3769
RGBrgb(31, 55, 105)
HSLhsl(221, 54%, 27%)
HSVhsv(221, 70%, 41%)
CMYKcmyk(70.5%, 47.6%, 0%, 58.8%)
CIE-LABlab(23.81, 9.01, -32.07)
CIE-LCHlch(23.81, 33.31, 285.68°)
OKLaboklab(34.62% -0.011 -0.0917)
OKLCHoklch(34.62% 0.092 263.1)
XYZxyz(4.4802, 4.0432, 13.9062)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3769 #69511F
analogous
#1F5C69 #1F3769 #2C1F69
triadic
#1F3769 #691F37 #37691F
tetradic
#1F3769 #691F5C #69511F #1F692C
square
#1F3769 #691F5C #69511F #1F692C
split-complementary
#1F3769 #692C1F #5C691F
monochromatic
#070C18 #111E3A #1F3769 #2D5098 #3D69C6

Accessibility & contrast

On white

11.61
#1F3769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1F3769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3769
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3769#FFFFFF#000000##FFFFFF
##1F37691.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6B
Deuteranopia (green-blind)
#113568
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f3769;
/* rgb */ color: rgb(31, 55, 105);
/* oklch */ color: oklch(34.6% 0.092 263.1);
Tailwind
colors: {
  custom: {
    50: '#646d94',
    500: '#1f3769',
    950: '#000000',
  },
}
SCSS
$custom: #1f3769;
$custom-light: #646d94;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3769",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 105
  },
  "hsl": {
    "h": 220.541,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34623,
    "c": 0.09236,
    "h": 263.1
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#1F3769
secondary
#9D8147
accent
#AE4ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1F3769

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

Preview Lab → · Contrast checker → · Palette generator →

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