#1F3D90#1F3D90

#1F3D90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.142 H 265.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1F3D90
RGBrgb(31, 61, 144)
HSLhsl(224, 65%, 34%)
HSVhsv(224, 78%, 56%)
CMYKcmyk(78.5%, 57.6%, 0%, 43.5%)
CIE-LABlab(28.49, 20.44, -49.08)
CIE-LCHlch(28.49, 53.16, 292.61°)
OKLaboklab(39.1% -0.0118 -0.1416)
OKLCHoklch(39.1% 0.142 265.2)
XYZxyz(7.2661, 5.6416, 27.0861)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3D90 #90721F
analogous
#1F7690 #1F3D90 #3A1F90
triadic
#1F3D90 #901F3D #3D901F
tetradic
#1F3D90 #901F76 #90721F #1F903A
square
#1F3D90 #901F76 #90721F #1F903A
split-complementary
#1F3D90 #903A1F #76901F
monochromatic
#09122B #14285E #1F3D90 #2A52C2 #5075D9

Accessibility & contrast

On white

9.87
#1F3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1F3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3D90
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3D90#FFFFFF#000000##FFFFFF
##1F3D901.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f3d90;
/* rgb */ color: rgb(31, 61, 144);
/* oklch */ color: oklch(39.1% 0.142 265.2);
Tailwind
colors: {
  custom: {
    50: '#6d72b1',
    500: '#1f3d90',
    950: '#000000',
  },
}
SCSS
$custom: #1f3d90;
$custom-light: #6d72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3d90",
  "rgb": {
    "r": 31,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 224.071,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.391,
    "c": 0.1421,
    "h": 265.2
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#1F3D90
secondary
#BC9F4E
accent
#BB40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1F3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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