#1F2484#1F2484

#1F2484 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.156 H 271.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#1F2484
RGBrgb(31, 36, 132)
HSLhsl(237, 62%, 32%)
HSVhsv(237, 77%, 52%)
CMYKcmyk(76.5%, 72.7%, 0%, 48.2%)
CIE-LABlab(20.90, 32.69, -54.03)
CIE-LCHlch(20.90, 63.15, 301.17°)
OKLaboklab(33.17% 0.0051 -0.1563)
OKLCHoklch(33.17% 0.156 271.8)
XYZxyz(5.3594, 3.2184, 22.1641)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2484 #847F1F
analogous
#1F5784 #1F2484 #4D1F84
triadic
#1F2484 #841F24 #24841F
tetradic
#1F2484 #841F57 #847F1F #1F844D
square
#1F2484 #841F57 #847F1F #1F844D
split-complementary
#1F2484 #844D1F #57841F
monochromatic
#080921 #131652 #1F2484 #2B32B6 #4950D4

Accessibility & contrast

On white

12.78
#1F2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1F2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2484
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2484#FFFFFF#000000##FFFFFF
##1F24841.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1f2484;
/* rgb */ color: rgb(31, 36, 132);
/* oklch */ color: oklch(33.2% 0.156 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c5fa9',
    500: '#1f2484',
    950: '#000000',
  },
}
SCSS
$custom: #1f2484;
$custom-light: #6c5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2484",
  "rgb": {
    "r": 31,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 237.03,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33167,
    "c": 0.15643,
    "h": 271.8
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#1F2484
secondary
#B7B148
accent
#DD43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F2484

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

Preview Lab → · Contrast checker → · Palette generator →

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