#1F2890#1F2890

#1F2890 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.168 H 270.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1F2890
RGBrgb(31, 40, 144)
HSLhsl(235, 65%, 34%)
HSVhsv(235, 78%, 56%)
CMYKcmyk(78.5%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.07, 34.53, -57.94)
CIE-LCHlch(23.07, 67.45, 300.79°)
OKLaboklab(35.11% 0.0013 -0.1678)
OKLCHoklch(35.11% 0.168 270.5)
XYZxyz(6.3562, 3.8218, 26.7828)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2890 #90871F
analogous
#1F6190 #1F2890 #4F1F90
triadic
#1F2890 #901F28 #28901F
tetradic
#1F2890 #901F61 #90871F #1F904F
square
#1F2890 #901F61 #90871F #1F904F
split-complementary
#1F2890 #904F1F #61901F
monochromatic
#090C2B #141A5E #1F2890 #2A36C2 #505BD9

Accessibility & contrast

On white

11.90
#1F2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1F2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2890
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2890#FFFFFF#000000##FFFFFF
##1F28901.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f2890;
/* rgb */ color: rgb(31, 40, 144);
/* oklch */ color: oklch(35.1% 0.168 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f62b2',
    500: '#1f2890',
    950: '#000000',
  },
}
SCSS
$custom: #1f2890;
$custom-light: #6f62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2890",
  "rgb": {
    "r": 31,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 235.221,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.16777,
    "h": 270.5
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#1F2890
secondary
#BCB44E
accent
#DA40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1F2890

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

Preview Lab → · Contrast checker → · Palette generator →

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