#1F4485#1F4485

#1F4485 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.117 H 260.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1F4485
RGBrgb(31, 68, 133)
HSLhsl(218, 62%, 32%)
HSVhsv(218, 77%, 52%)
CMYKcmyk(76.7%, 48.9%, 0%, 47.8%)
CIE-LABlab(29.71, 11.20, -40.31)
CIE-LCHlch(29.71, 41.84, 285.53°)
OKLaboklab(39.77% -0.0189 -0.1157)
OKLCHoklch(39.77% 0.117 260.7)
XYZxyz(6.8643, 6.1182, 23.0049)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4485 #85601F
analogous
#1F7785 #1F4485 #2D1F85
triadic
#1F4485 #851F44 #44851F
tetradic
#1F4485 #851F77 #85601F #1F852D
square
#1F4485 #851F77 #85601F #1F852D
split-complementary
#1F4485 #852D1F #77851F
monochromatic
#081122 #132B53 #1F4485 #2B5DB7 #4A7CD5

Accessibility & contrast

On white

9.44
#1F4485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1F4485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4485
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4485#FFFFFF#000000##FFFFFF
##1F44851.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#044284
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f4485;
/* rgb */ color: rgb(31, 68, 133);
/* oklch */ color: oklch(39.8% 0.117 260.7);
Tailwind
colors: {
  custom: {
    50: '#6a77a9',
    500: '#1f4485',
    950: '#000000',
  },
}
SCSS
$custom: #1f4485;
$custom-light: #6a77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4485",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 218.235,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39767,
    "c": 0.11722,
    "h": 260.7
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#1F4485
secondary
#B78F49
accent
#AA43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1F4485

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

Preview Lab → · Contrast checker → · Palette generator →

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