#1F2482#1F2482

#1F2482 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.154 H 272.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1F2482
RGBrgb(31, 36, 130)
HSLhsl(237, 61%, 32%)
HSVhsv(237, 76%, 51%)
CMYKcmyk(76.2%, 72.3%, 0%, 49%)
CIE-LABlab(20.69, 31.96, -53.12)
CIE-LCHlch(20.69, 61.99, 301.03°)
OKLaboklab(32.95% 0.0053 -0.1537)
OKLCHoklch(32.95% 0.154 272)
XYZxyz(5.2239, 3.1642, 21.4502)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2482 #827D1F
analogous
#1F5682 #1F2482 #4C1F82
triadic
#1F2482 #821F24 #24821F
tetradic
#1F2482 #821F56 #827D1F #1F824C
square
#1F2482 #821F56 #827D1F #1F824C
split-complementary
#1F2482 #824C1F #56821F
monochromatic
#07091F #131651 #1F2482 #2B32B3 #484FD3

Accessibility & contrast

On white

12.86
#1F2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2482
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2482#FFFFFF#000000##FFFFFF
##1F24821.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1f2482;
/* rgb */ color: rgb(31, 36, 130);
/* oklch */ color: oklch(33.0% 0.154 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c5fa7',
    500: '#1f2482',
    950: '#000000',
  },
}
SCSS
$custom: #1f2482;
$custom-light: #6c5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2482",
  "rgb": {
    "r": 31,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 236.97,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32954,
    "c": 0.15377,
    "h": 272
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#1F2482
secondary
#B5AF48
accent
#DC43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F2482

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

Preview Lab → · Contrast checker → · Palette generator →

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