#1F4285#1F4285

#1F4285 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.120 H 261.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1F4285
RGBrgb(31, 66, 133)
HSLhsl(219, 62%, 32%)
HSVhsv(219, 77%, 52%)
CMYKcmyk(76.7%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.11, 12.58, -41.28)
CIE-LCHlch(29.11, 43.15, 286.95°)
OKLaboklab(39.31% -0.0171 -0.1186)
OKLCHoklch(39.31% 0.12 261.8)
XYZxyz(6.7454, 5.8804, 22.9653)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4285 #85621F
analogous
#1F7585 #1F4285 #2F1F85
triadic
#1F4285 #851F42 #42851F
tetradic
#1F4285 #851F75 #85621F #1F852F
square
#1F4285 #851F75 #85621F #1F852F
split-complementary
#1F4285 #852F1F #75851F
monochromatic
#081122 #132953 #1F4285 #2B5BB7 #4A79D5

Accessibility & contrast

On white

9.65
#1F4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1F4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4285
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4285#FFFFFF#000000##FFFFFF
##1F42851.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A87
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4285;
/* rgb */ color: rgb(31, 66, 133);
/* oklch */ color: oklch(39.3% 0.120 261.8);
Tailwind
colors: {
  custom: {
    50: '#6a75a9',
    500: '#1f4285',
    950: '#000000',
  },
}
SCSS
$custom: #1f4285;
$custom-light: #6a75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4285",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 219.412,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.11979,
    "h": 261.8
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#1F4285
secondary
#B79149
accent
#AD43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1F4285

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

Preview Lab → · Contrast checker → · Palette generator →

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