#1F448A#1F448A

#1F448A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.1% C 0.124 H 261.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1F448A
RGBrgb(31, 68, 138)
HSLhsl(219, 63%, 33%)
HSVhsv(219, 78%, 54%)
CMYKcmyk(77.5%, 50.7%, 0%, 45.9%)
CIE-LABlab(30.06, 13.21, -42.84)
CIE-LCHlch(30.06, 44.83, 287.14°)
OKLaboklab(40.15% -0.0181 -0.1231)
OKLCHoklch(40.15% 0.124 261.6)
XYZxyz(7.2180, 6.2597, 24.8677)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F448A #8A651F
analogous
#1F798A #1F448A #2F1F8A
triadic
#1F448A #8A1F44 #448A1F
tetradic
#1F448A #8A1F79 #8A651F #1F8A2F
square
#1F448A #8A1F79 #8A651F #1F8A2F
split-complementary
#1F448A #8A2F1F #798A1F
monochromatic
#091326 #142B58 #1F448A #2A5DBC #4C7CD7

Accessibility & contrast

On white

9.32
#1F448A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1F448A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F448A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F448A#FFFFFF#000000##FFFFFF
##1F448A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f448a;
/* rgb */ color: rgb(31, 68, 138);
/* oklch */ color: oklch(40.1% 0.124 261.6);
Tailwind
colors: {
  custom: {
    50: '#6b77ad',
    500: '#1f448a',
    950: '#000000',
  },
}
SCSS
$custom: #1f448a;
$custom-light: #6b77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f448a",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 138
  },
  "hsl": {
    "h": 219.252,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.12445,
    "h": 261.6
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#1F448A
secondary
#BA934B
accent
#AD41E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1F448A

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

Preview Lab → · Contrast checker → · Palette generator →

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