#1F3482#1F3482

#1F3482 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.134 H 267.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#1F3482
RGBrgb(31, 52, 130)
HSLhsl(227, 61%, 32%)
HSVhsv(227, 76%, 51%)
CMYKcmyk(76.2%, 60%, 0%, 49%)
CIE-LABlab(24.82, 21.13, -46.35)
CIE-LCHlch(24.82, 50.94, 294.50°)
OKLaboklab(35.99% -0.0056 -0.1337)
OKLCHoklch(35.99% 0.134 267.6)
XYZxyz(5.8209, 4.3584, 21.6492)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3482 #826D1F
analogous
#1F6682 #1F3482 #3C1F82
triadic
#1F3482 #821F34 #34821F
tetradic
#1F3482 #821F66 #826D1F #1F823C
square
#1F3482 #821F66 #826D1F #1F823C
split-complementary
#1F3482 #823C1F #66821F
monochromatic
#070C1F #132051 #1F3482 #2B48B3 #4866D3

Accessibility & contrast

On white

11.22
#1F3482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1F3482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3482
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3482#FFFFFF#000000##FFFFFF
##1F34821.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f3482;
/* rgb */ color: rgb(31, 52, 130);
/* oklch */ color: oklch(36.0% 0.134 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a6ba7',
    500: '#1f3482',
    950: '#000000',
  },
}
SCSS
$custom: #1f3482;
$custom-light: #6a6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3482",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 227.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35989,
    "c": 0.13385,
    "h": 267.6
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#1F3482
secondary
#B59E48
accent
#C243E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F3482

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

Preview Lab → · Contrast checker → · Palette generator →

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