#1F3E90#1F3E90

#1F3E90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.141 H 264.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1F3E90
RGBrgb(31, 62, 144)
HSLhsl(224, 65%, 34%)
HSVhsv(224, 78%, 56%)
CMYKcmyk(78.5%, 56.9%, 0%, 43.5%)
CIE-LABlab(28.77, 19.75, -48.62)
CIE-LCHlch(28.77, 52.48, 292.11°)
OKLaboklab(39.31% -0.0126 -0.1403)
OKLCHoklch(39.31% 0.141 264.9)
XYZxyz(7.3200, 5.7493, 27.1041)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3E90 #90711F
analogous
#1F7790 #1F3E90 #391F90
triadic
#1F3E90 #901F3E #3E901F
tetradic
#1F3E90 #901F77 #90711F #1F9039
square
#1F3E90 #901F77 #90711F #1F9039
split-complementary
#1F3E90 #90391F #77901F
monochromatic
#09132B #14285E #1F3E90 #2A54C2 #5076D9

Accessibility & contrast

On white

9.77
#1F3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3E90
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3E90#FFFFFF#000000##FFFFFF
##1F3E901.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f3e90;
/* rgb */ color: rgb(31, 62, 144);
/* oklch */ color: oklch(39.3% 0.141 264.9);
Tailwind
colors: {
  custom: {
    50: '#6d72b1',
    500: '#1f3e90',
    950: '#000000',
  },
}
SCSS
$custom: #1f3e90;
$custom-light: #6d72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3e90",
  "rgb": {
    "r": 31,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 223.54,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39312,
    "c": 0.14081,
    "h": 264.9
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#1F3E90
secondary
#BC9E4E
accent
#BA40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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