#1F3E93#1F3E93

#1F3E93 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.145 H 265.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1F3E93
RGBrgb(31, 62, 147)
HSLhsl(224, 65%, 35%)
HSVhsv(224, 79%, 58%)
CMYKcmyk(78.9%, 57.8%, 0%, 42.4%)
CIE-LABlab(29.01, 20.94, -50.07)
CIE-LCHlch(29.01, 54.28, 292.70°)
OKLaboklab(39.57% -0.0124 -0.1445)
OKLCHoklch(39.57% 0.145 265.1)
XYZxyz(7.5523, 5.8423, 28.3277)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3E93 #93741F
analogous
#1F7893 #1F3E93 #3A1F93
triadic
#1F3E93 #931F3E #3E931F
tetradic
#1F3E93 #931F78 #93741F #1F933A
square
#1F3E93 #931F78 #93741F #1F933A
split-complementary
#1F3E93 #933A1F #78931F
monochromatic
#0A132E #142960 #1F3E93 #2A53C6 #5276DA

Accessibility & contrast

On white

9.68
#1F3E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1F3E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3E93
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3E93#FFFFFF#000000##FFFFFF
##1F3E931.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f3e93;
/* rgb */ color: rgb(31, 62, 147);
/* oklch */ color: oklch(39.6% 0.145 265.1);
Tailwind
colors: {
  custom: {
    50: '#6e72b3',
    500: '#1f3e93',
    950: '#000000',
  },
}
SCSS
$custom: #1f3e93;
$custom-light: #6e72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3e93",
  "rgb": {
    "r": 31,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 223.966,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.14504,
    "h": 265.1
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#1F3E93
secondary
#BEA050
accent
#BB40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F3E93

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

Preview Lab → · Contrast checker → · Palette generator →

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