#1F448D#1F448D

#1F448D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.129 H 262.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1F448D
RGBrgb(31, 68, 141)
HSLhsl(220, 64%, 34%)
HSVhsv(220, 78%, 55%)
CMYKcmyk(78%, 51.8%, 0%, 44.7%)
CIE-LABlab(30.27, 14.41, -44.34)
CIE-LCHlch(30.27, 46.63, 288.01°)
OKLaboklab(40.38% -0.0177 -0.1275)
OKLCHoklch(40.38% 0.129 262.1)
XYZxyz(7.4382, 6.3478, 26.0274)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F448D #8D681F
analogous
#1F7B8D #1F448D #311F8D
triadic
#1F448D #8D1F44 #448D1F
tetradic
#1F448D #8D1F7B #8D681F #1F8D31
square
#1F448D #8D1F7B #8D681F #1F8D31
split-complementary
#1F448D #8D311F #7B8D1F
monochromatic
#091429 #142C5B #1F448D #2A5CBF #4E7DD8

Accessibility & contrast

On white

9.25
#1F448D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1F448D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F448D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F448D#FFFFFF#000000##FFFFFF
##1F448D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f448d;
/* rgb */ color: rgb(31, 68, 141);
/* oklch */ color: oklch(40.4% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#6c77af',
    500: '#1f448d',
    950: '#000000',
  },
}
SCSS
$custom: #1f448d;
$custom-light: #6c77af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f448d",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 141
  },
  "hsl": {
    "h": 219.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.12877,
    "h": 262.1
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#1F448D
secondary
#BB964D
accent
#AF41E7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1F448D

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

Preview Lab → · Contrast checker → · Palette generator →

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