#1F3D93#1F3D93

#1F3D93 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.146 H 265.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1F3D93
RGBrgb(31, 61, 147)
HSLhsl(224, 65%, 35%)
HSVhsv(224, 79%, 58%)
CMYKcmyk(78.9%, 58.5%, 0%, 42.4%)
CIE-LABlab(28.73, 21.63, -50.53)
CIE-LCHlch(28.73, 54.96, 293.18°)
OKLaboklab(39.36% -0.0117 -0.1459)
OKLCHoklch(39.36% 0.146 265.4)
XYZxyz(7.4984, 5.7345, 28.3098)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3D93 #93751F
analogous
#1F7793 #1F3D93 #3B1F93
triadic
#1F3D93 #931F3D #3D931F
tetradic
#1F3D93 #931F77 #93751F #1F933B
square
#1F3D93 #931F77 #93751F #1F933B
split-complementary
#1F3D93 #933B1F #77931F
monochromatic
#0A132E #142860 #1F3D93 #2A52C6 #5275DA

Accessibility & contrast

On white

9.78
#1F3D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1F3D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3D93
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3D93#FFFFFF#000000##FFFFFF
##1F3D931.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f3d93;
/* rgb */ color: rgb(31, 61, 147);
/* oklch */ color: oklch(39.4% 0.146 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e72b3',
    500: '#1f3d93',
    950: '#000000',
  },
}
SCSS
$custom: #1f3d93;
$custom-light: #6e72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3d93",
  "rgb": {
    "r": 31,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 224.483,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39359,
    "c": 0.14633,
    "h": 265.4
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#1F3D93
secondary
#BEA150
accent
#BD40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1F3D93

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

Preview Lab → · Contrast checker → · Palette generator →

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