#1F4583#1F4583

#1F4583 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.113 H 259.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1F4583
RGBrgb(31, 69, 131)
HSLhsl(217, 62%, 32%)
HSVhsv(217, 76%, 51%)
CMYKcmyk(76.3%, 47.3%, 0%, 48.6%)
CIE-LABlab(29.88, 9.71, -38.80)
CIE-LCHlch(29.88, 40.00, 284.05°)
OKLaboklab(39.85% -0.0201 -0.1112)
OKLCHoklch(39.85% 0.113 259.7)
XYZxyz(6.7884, 6.1855, 22.3045)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4583 #835D1F
analogous
#1F7783 #1F4583 #2B1F83
triadic
#1F4583 #831F45 #45831F
tetradic
#1F4583 #831F77 #835D1F #1F832B
square
#1F4583 #831F77 #835D1F #1F832B
split-complementary
#1F4583 #832B1F #77831F
monochromatic
#081120 #132B52 #1F4583 #2B5FB4 #497DD4

Accessibility & contrast

On white

9.39
#1F4583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1F4583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4583
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4583#FFFFFF#000000##FFFFFF
##1F45831.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#0E4282
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f4583;
/* rgb */ color: rgb(31, 69, 131);
/* oklch */ color: oklch(39.9% 0.113 259.7);
Tailwind
colors: {
  custom: {
    50: '#6978a7',
    500: '#1f4583',
    950: '#000000',
  },
}
SCSS
$custom: #1f4583;
$custom-light: #6978a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4583",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 217.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.11304,
    "h": 259.7
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#1F4583
secondary
#B68C48
accent
#A743E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F4583

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

Preview Lab → · Contrast checker → · Palette generator →

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