#1F2093#1F2093

#1F2093 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.180 H 271.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1F2093
RGBrgb(31, 32, 147)
HSLhsl(239, 65%, 35%)
HSVhsv(239, 79%, 58%)
CMYKcmyk(78.9%, 78.2%, 0%, 42.4%)
CIE-LABlab(21.69, 40.39, -62.09)
CIE-LCHlch(21.69, 74.07, 303.04°)
OKLaboklab(34.22% 0.0043 -0.1798)
OKLCHoklch(34.22% 0.18 271.4)
XYZxyz(6.3463, 3.4302, 27.9257)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2093 #93921F
analogous
#1F5A93 #1F2093 #581F93
triadic
#1F2093 #931F20 #20931F
tetradic
#1F2093 #931F5A #93921F #1F9358
square
#1F2093 #931F5A #93921F #1F9358
split-complementary
#1F2093 #93581F #5A931F
monochromatic
#0A0A2E #141560 #1F2093 #2A2BC6 #5253DA

Accessibility & contrast

On white

12.45
#1F2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1F2093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2093
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2093#FFFFFF#000000##FFFFFF
##1F20931.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#002E91
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f2093;
/* rgb */ color: rgb(31, 32, 147);
/* oklch */ color: oklch(34.2% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#715db4',
    500: '#1f2093',
    950: '#000000',
  },
}
SCSS
$custom: #1f2093;
$custom-light: #715db4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2093",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 239.483,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.17981,
    "h": 271.4
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#1F2093
secondary
#BEBD50
accent
#E740E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1F2093

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

Preview Lab → · Contrast checker → · Palette generator →

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