#1F2483#1F2483

#1F2483 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.155 H 271.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1F2483
RGBrgb(31, 36, 131)
HSLhsl(237, 62%, 32%)
HSVhsv(237, 76%, 51%)
CMYKcmyk(76.3%, 72.5%, 0%, 48.6%)
CIE-LABlab(20.79, 32.32, -53.57)
CIE-LCHlch(20.79, 62.57, 301.10°)
OKLaboklab(33.06% 0.0052 -0.155)
OKLCHoklch(33.06% 0.155 271.9)
XYZxyz(5.2913, 3.1912, 21.8054)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2483 #837E1F
analogous
#1F5683 #1F2483 #4C1F83
triadic
#1F2483 #831F24 #24831F
tetradic
#1F2483 #831F56 #837E1F #1F834C
square
#1F2483 #831F56 #837E1F #1F834C
split-complementary
#1F2483 #834C1F #56831F
monochromatic
#080920 #131652 #1F2483 #2B32B4 #4950D4

Accessibility & contrast

On white

12.82
#1F2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2483
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2483#FFFFFF#000000##FFFFFF
##1F24831.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2483;
/* rgb */ color: rgb(31, 36, 131);
/* oklch */ color: oklch(33.1% 0.155 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c5fa8',
    500: '#1f2483',
    950: '#000000',
  },
}
SCSS
$custom: #1f2483;
$custom-light: #6c5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2483",
  "rgb": {
    "r": 31,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 237,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.15511,
    "h": 271.9
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F2483

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

Preview Lab → · Contrast checker → · Palette generator →

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