#1F2590#1F2590

#1F2590 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.171 H 270.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1F2590
RGBrgb(31, 37, 144)
HSLhsl(237, 65%, 34%)
HSVhsv(237, 78%, 56%)
CMYKcmyk(78.5%, 74.3%, 0%, 43.5%)
CIE-LABlab(22.40, 36.40, -59.06)
CIE-LCHlch(22.40, 69.37, 301.65°)
OKLaboklab(34.62% 0.0028 -0.171)
OKLCHoklch(34.62% 0.171 270.9)
XYZxyz(6.2590, 3.6274, 26.7504)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2590 #908A1F
analogous
#1F5E90 #1F2590 #521F90
triadic
#1F2590 #901F25 #25901F
tetradic
#1F2590 #901F5E #908A1F #1F9052
square
#1F2590 #901F5E #908A1F #1F9052
split-complementary
#1F2590 #90521F #5E901F
monochromatic
#090B2B #14185E #1F2590 #2A32C2 #5057D9

Accessibility & contrast

On white

12.17
#1F2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1F2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2590
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2590#FFFFFF#000000##FFFFFF
##1F25901.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f2590;
/* rgb */ color: rgb(31, 37, 144);
/* oklch */ color: oklch(34.6% 0.171 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f60b2',
    500: '#1f2590',
    950: '#000000',
  },
}
SCSS
$custom: #1f2590;
$custom-light: #6f60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2590",
  "rgb": {
    "r": 31,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 236.814,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.17101,
    "h": 270.9
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#1F2590
secondary
#BCB74E
accent
#DF40E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1F2590

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

Preview Lab → · Contrast checker → · Palette generator →

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