#1F4083#1F4083

#1F4083 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.119 H 262.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#1F4083
RGBrgb(31, 64, 131)
HSLhsl(220, 62%, 32%)
HSVhsv(220, 76%, 51%)
CMYKcmyk(76.3%, 51.1%, 0%, 48.6%)
CIE-LABlab(28.37, 13.15, -41.23)
CIE-LCHlch(28.37, 43.27, 287.70°)
OKLaboklab(38.7% -0.0156 -0.1185)
OKLCHoklch(38.7% 0.119 262.5)
XYZxyz(6.4937, 5.5961, 22.2062)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4083 #83621F
analogous
#1F7283 #1F4083 #301F83
triadic
#1F4083 #831F40 #40831F
tetradic
#1F4083 #831F72 #83621F #1F8330
square
#1F4083 #831F72 #83621F #1F8330
split-complementary
#1F4083 #83301F #72831F
monochromatic
#081020 #132852 #1F4083 #2B58B4 #4977D4

Accessibility & contrast

On white

9.91
#1F4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1F4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4083
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4083#FFFFFF#000000##FFFFFF
##1F40831.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194885
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4083;
/* rgb */ color: rgb(31, 64, 131);
/* oklch */ color: oklch(38.7% 0.119 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a74a7',
    500: '#1f4083',
    950: '#000000',
  },
}
SCSS
$custom: #1f4083;
$custom-light: #6a74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4083",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 220.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38696,
    "c": 0.11948,
    "h": 262.5
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#1F4083
secondary
#B69248
accent
#AF43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F4083

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

Preview Lab → · Contrast checker → · Palette generator →

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