#1F2089#1F2089

#1F2089 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.167 H 272.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1F2089
RGBrgb(31, 32, 137)
HSLhsl(239, 63%, 33%)
HSVhsv(239, 77%, 54%)
CMYKcmyk(77.4%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.56, 36.93, -57.74)
CIE-LCHlch(20.56, 68.54, 302.61°)
OKLaboklab(33.08% 0.0062 -0.1671)
OKLCHoklch(33.08% 0.167 272.1)
XYZxyz(5.5954, 3.1299, 23.9713)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2089 #89881F
analogous
#1F5589 #1F2089 #531F89
triadic
#1F2089 #891F20 #20891F
tetradic
#1F2089 #891F55 #89881F #1F8953
square
#1F2089 #891F55 #89881F #1F8953
split-complementary
#1F2089 #89531F #55891F
monochromatic
#080925 #141457 #1F2089 #2A2CBB #4C4DD6

Accessibility & contrast

On white

12.92
#1F2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1F2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2089
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2089#FFFFFF#000000##FFFFFF
##1F20891.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1f2089;
/* rgb */ color: rgb(31, 32, 137);
/* oklch */ color: oklch(33.1% 0.167 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e5dad',
    500: '#1f2089',
    950: '#000000',
  },
}
SCSS
$custom: #1f2089;
$custom-light: #6e5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2089",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 239.434,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33084,
    "c": 0.16724,
    "h": 272.1
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#1F2089
secondary
#B9B84B
accent
#E542E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F2089

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

Preview Lab → · Contrast checker → · Palette generator →

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