#1F3463#1F3463

#1F3463 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.087 H 264.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1F3463
RGBrgb(31, 52, 99)
HSLhsl(221, 52%, 25%)
HSVhsv(221, 69%, 39%)
CMYKcmyk(68.7%, 47.5%, 0%, 61.2%)
CIE-LABlab(22.47, 8.73, -30.33)
CIE-LCHlch(22.47, 31.57, 286.06°)
OKLaboklab(33.46% -0.0089 -0.0866)
OKLCHoklch(33.46% 0.087 264.1)
XYZxyz(4.0444, 3.6478, 12.2929)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3463 #634E1F
analogous
#1F5663 #1F3463 #2C1F63
triadic
#1F3463 #631F34 #34631F
tetradic
#1F3463 #631F56 #634E1F #1F632C
square
#1F3463 #631F56 #634E1F #1F632C
split-complementary
#1F3463 #632C1F #56631F
monochromatic
#070C17 #101C34 #1F3463 #2E4C92 #3C65C0

Accessibility & contrast

On white

12.14
#1F3463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1F3463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3463
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3463#FFFFFF#000000##FFFFFF
##1F34631.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3965
Deuteranopia (green-blind)
#123362
Tritanopia (blue-blind)
#003F46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f3463;
/* rgb */ color: rgb(31, 52, 99);
/* oklch */ color: oklch(33.5% 0.087 264.1);
Tailwind
colors: {
  custom: {
    50: '#636b90',
    500: '#1f3463',
    950: '#000000',
  },
}
SCSS
$custom: #1f3463;
$custom-light: #636b90;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3463",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 99
  },
  "hsl": {
    "h": 221.471,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.08708,
    "h": 264.1
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#1F3463
secondary
#987E46
accent
#AF4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #1F3463

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

Preview Lab → · Contrast checker → · Palette generator →

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