#1F3563#1F3563

#1F3563 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.086 H 263.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1F3563
RGBrgb(31, 53, 99)
HSLhsl(221, 52%, 25%)
HSVhsv(221, 69%, 39%)
CMYKcmyk(68.7%, 46.5%, 0%, 61.2%)
CIE-LABlab(22.79, 8.03, -29.83)
CIE-LCHlch(22.79, 30.89, 285.06°)
OKLaboklab(33.7% -0.01 -0.0851)
OKLCHoklch(33.7% 0.086 263.3)
XYZxyz(4.0895, 3.7380, 12.3079)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3563 #634D1F
analogous
#1F5763 #1F3563 #2B1F63
triadic
#1F3563 #631F35 #35631F
tetradic
#1F3563 #631F57 #634D1F #1F632B
square
#1F3563 #631F57 #634D1F #1F632B
split-complementary
#1F3563 #632B1F #57631F
monochromatic
#070C17 #101C34 #1F3563 #2E4E92 #3C67C0

Accessibility & contrast

On white

12.02
#1F3563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1F3563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3563
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3563#FFFFFF#000000##FFFFFF
##1F35631.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A65
Deuteranopia (green-blind)
#143362
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f3563;
/* rgb */ color: rgb(31, 53, 99);
/* oklch */ color: oklch(33.7% 0.086 263.3);
Tailwind
colors: {
  custom: {
    50: '#636b90',
    500: '#1f3563',
    950: '#000000',
  },
}
SCSS
$custom: #1f3563;
$custom-light: #636b90;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3563",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 99
  },
  "hsl": {
    "h": 220.588,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33703,
    "c": 0.08573,
    "h": 263.3
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#1F3563
secondary
#987D46
accent
#AD4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #1F3563

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

Preview Lab → · Contrast checker → · Palette generator →

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