#1F3690#1F3690

#1F3690 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.151 H 267.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#1F3690
RGBrgb(31, 54, 144)
HSLhsl(228, 65%, 34%)
HSVhsv(228, 78%, 56%)
CMYKcmyk(78.5%, 62.5%, 0%, 43.5%)
CIE-LABlab(26.57, 25.25, -52.21)
CIE-LCHlch(26.57, 57.99, 295.81°)
OKLaboklab(37.67% -0.0069 -0.1509)
OKLCHoklch(37.67% 0.151 267.4)
XYZxyz(6.9165, 4.9425, 26.9696)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3690 #90791F
analogous
#1F6E90 #1F3690 #411F90
triadic
#1F3690 #901F36 #36901F
tetradic
#1F3690 #901F6E #90791F #1F9041
square
#1F3690 #901F6E #90791F #1F9041
split-complementary
#1F3690 #90411F #6E901F
monochromatic
#09102B #14235E #1F3690 #2A49C2 #506CD9

Accessibility & contrast

On white

10.56
#1F3690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1F3690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3690
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3690#FFFFFF#000000##FFFFFF
##1F36901.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f3690;
/* rgb */ color: rgb(31, 54, 144);
/* oklch */ color: oklch(37.7% 0.151 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e6cb1',
    500: '#1f3690',
    950: '#000000',
  },
}
SCSS
$custom: #1f3690;
$custom-light: #6e6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3690",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 144
  },
  "hsl": {
    "h": 227.788,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37665,
    "c": 0.15106,
    "h": 267.4
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#1F3690
secondary
#BCA64E
accent
#C640E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1F3690

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

Preview Lab → · Contrast checker → · Palette generator →

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