#1F4482#1F4482

#1F4482 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.113 H 260.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1F4482
RGBrgb(31, 68, 130)
HSLhsl(218, 61%, 32%)
HSVhsv(218, 76%, 51%)
CMYKcmyk(76.2%, 47.7%, 0%, 49%)
CIE-LABlab(29.50, 9.99, -38.78)
CIE-LCHlch(29.50, 40.04, 284.45°)
OKLaboklab(39.54% -0.0194 -0.1112)
OKLCHoklch(39.54% 0.113 260.1)
XYZxyz(6.6600, 6.0365, 21.9289)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4482 #825D1F
analogous
#1F7682 #1F4482 #2C1F82
triadic
#1F4482 #821F44 #44821F
tetradic
#1F4482 #821F76 #825D1F #1F822C
square
#1F4482 #821F76 #825D1F #1F822C
split-complementary
#1F4482 #822C1F #76821F
monochromatic
#07101F #132A51 #1F4482 #2B5EB3 #487CD3

Accessibility & contrast

On white

9.51
#1F4482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1F4482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4482
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4482#FFFFFF#000000##FFFFFF
##1F44821.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#0D4181
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4482;
/* rgb */ color: rgb(31, 68, 130);
/* oklch */ color: oklch(39.5% 0.113 260.1);
Tailwind
colors: {
  custom: {
    50: '#6977a7',
    500: '#1f4482',
    950: '#000000',
  },
}
SCSS
$custom: #1f4482;
$custom-light: #6977a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4482",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 217.576,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39544,
    "c": 0.11285,
    "h": 260.1
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#1F4482
secondary
#B58C48
accent
#A843E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F4482

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

Preview Lab → · Contrast checker → · Palette generator →

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