#1F2094#1F2094

#1F2094 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.181 H 271.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1F2094
RGBrgb(31, 32, 148)
HSLhsl(239, 65%, 35%)
HSVhsv(239, 79%, 58%)
CMYKcmyk(79.1%, 78.4%, 0%, 42%)
CIE-LABlab(21.81, 40.73, -62.52)
CIE-LCHlch(21.81, 74.61, 303.08°)
OKLaboklab(34.34% 0.0041 -0.181)
OKLCHoklch(34.34% 0.181 271.3)
XYZxyz(6.4251, 3.4617, 28.3408)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2094 #94931F
analogous
#1F5B94 #1F2094 #581F94
triadic
#1F2094 #941F20 #20941F
tetradic
#1F2094 #941F5B #94931F #1F9458
square
#1F2094 #941F5B #94931F #1F9458
split-complementary
#1F2094 #94581F #5B941F
monochromatic
#0A0A2F #141561 #1F2094 #2A2BC7 #5354DB

Accessibility & contrast

On white

12.41
#1F2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2094
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2094#FFFFFF#000000##FFFFFF
##1F20941.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f2094;
/* rgb */ color: rgb(31, 32, 148);
/* oklch */ color: oklch(34.3% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#715db5',
    500: '#1f2094',
    950: '#000000',
  },
}
SCSS
$custom: #1f2094;
$custom-light: #715db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2094",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 239.487,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.18105,
    "h": 271.3
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#1F2094
secondary
#BEBD51
accent
#E73FE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1F2094

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

Preview Lab → · Contrast checker → · Palette generator →

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