#1F3663#1F3663

#1F3663 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.084 H 262.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1F3663
RGBrgb(31, 54, 99)
HSLhsl(220, 52%, 25%)
HSVhsv(220, 69%, 39%)
CMYKcmyk(68.7%, 45.5%, 0%, 61.2%)
CIE-LABlab(23.10, 7.32, -29.33)
CIE-LCHlch(23.10, 30.23, 284.01°)
OKLaboklab(33.95% -0.0111 -0.0836)
OKLCHoklch(33.95% 0.084 262.4)
XYZxyz(4.1356, 3.8301, 12.3233)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3663 #634C1F
analogous
#1F5863 #1F3663 #2A1F63
triadic
#1F3663 #631F36 #36631F
tetradic
#1F3663 #631F58 #634C1F #1F632A
square
#1F3663 #631F58 #634C1F #1F632A
split-complementary
#1F3663 #632A1F #58631F
monochromatic
#070D17 #101D34 #1F3663 #2E4F92 #3C69C0

Accessibility & contrast

On white

11.89
#1F3663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1F3663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3663
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3663#FFFFFF#000000##FFFFFF
##1F36631.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A65
Deuteranopia (green-blind)
#173462
Tritanopia (blue-blind)
#004047
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f3663;
/* rgb */ color: rgb(31, 54, 99);
/* oklch */ color: oklch(33.9% 0.084 262.4);
Tailwind
colors: {
  custom: {
    50: '#636c90',
    500: '#1f3663',
    950: '#000000',
  },
}
SCSS
$custom: #1f3663;
$custom-light: #636c90;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3663",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 99
  },
  "hsl": {
    "h": 219.706,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33946,
    "c": 0.08438,
    "h": 262.4
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#1F3663
secondary
#987C46
accent
#AB4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #1F3663

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

Preview Lab → · Contrast checker → · Palette generator →

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