#1F448C#1F448C

#1F448C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.127 H 262.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1F448C
RGBrgb(31, 68, 140)
HSLhsl(220, 64%, 34%)
HSVhsv(220, 78%, 55%)
CMYKcmyk(77.9%, 51.4%, 0%, 45.1%)
CIE-LABlab(30.20, 14.01, -43.84)
CIE-LCHlch(30.20, 46.03, 287.72°)
OKLaboklab(40.3% -0.0178 -0.1261)
OKLCHoklch(40.3% 0.127 262)
XYZxyz(7.3641, 6.3182, 25.6373)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F448C #8C671F
analogous
#1F7A8C #1F448C #301F8C
triadic
#1F448C #8C1F44 #448C1F
tetradic
#1F448C #8C1F7A #8C671F #1F8C30
square
#1F448C #8C1F7A #8C671F #1F8C30
split-complementary
#1F448C #8C301F #7A8C1F
monochromatic
#091328 #142C5A #1F448C #2A5CBE #4E7DD8

Accessibility & contrast

On white

9.28
#1F448C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1F448C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F448C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F448C#FFFFFF#000000##FFFFFF
##1F448C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f448c;
/* rgb */ color: rgb(31, 68, 140);
/* oklch */ color: oklch(40.3% 0.127 262.0);
Tailwind
colors: {
  custom: {
    50: '#6c77ae',
    500: '#1f448c',
    950: '#000000',
  },
}
SCSS
$custom: #1f448c;
$custom-light: #6c77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f448c",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 140
  },
  "hsl": {
    "h": 219.633,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40302,
    "c": 0.12733,
    "h": 262
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#1F448C
secondary
#BB954C
accent
#AF41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1F448C

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

Preview Lab → · Contrast checker → · Palette generator →

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