#1F4483#1F4483

#1F4483 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.114 H 260.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1F4483
RGBrgb(31, 68, 131)
HSLhsl(218, 62%, 32%)
HSVhsv(218, 76%, 51%)
CMYKcmyk(76.3%, 48.1%, 0%, 48.6%)
CIE-LABlab(29.57, 10.40, -39.29)
CIE-LCHlch(29.57, 40.64, 284.82°)
OKLaboklab(39.62% -0.0192 -0.1127)
OKLCHoklch(39.62% 0.114 260.3)
XYZxyz(6.7275, 6.0635, 22.2841)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4483 #835E1F
analogous
#1F7683 #1F4483 #2C1F83
triadic
#1F4483 #831F44 #44831F
tetradic
#1F4483 #831F76 #835E1F #1F832C
square
#1F4483 #831F76 #835E1F #1F832C
split-complementary
#1F4483 #832C1F #76831F
monochromatic
#081120 #132A52 #1F4483 #2B5EB4 #497CD4

Accessibility & contrast

On white

9.49
#1F4483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4483
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4483#FFFFFF#000000##FFFFFF
##1F44831.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B85
Deuteranopia (green-blind)
#0A4182
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f4483;
/* rgb */ color: rgb(31, 68, 131);
/* oklch */ color: oklch(39.6% 0.114 260.3);
Tailwind
colors: {
  custom: {
    50: '#6977a7',
    500: '#1f4483',
    950: '#000000',
  },
}
SCSS
$custom: #1f4483;
$custom-light: #6977a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4483",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 131
  },
  "hsl": {
    "h": 217.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.1143,
    "h": 260.3
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#1F4483
secondary
#B68D48
accent
#A943E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F4483

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

Preview Lab → · Contrast checker → · Palette generator →

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