#1F448B#1F448B

#1F448B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.126 H 261.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1F448B
RGBrgb(31, 68, 139)
HSLhsl(219, 64%, 33%)
HSVhsv(219, 78%, 55%)
CMYKcmyk(77.7%, 51.1%, 0%, 45.5%)
CIE-LABlab(30.13, 13.61, -43.34)
CIE-LCHlch(30.13, 45.43, 287.43°)
OKLaboklab(40.22% -0.0179 -0.1246)
OKLCHoklch(40.22% 0.126 261.8)
XYZxyz(7.2907, 6.2888, 25.2507)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F448B #8B661F
analogous
#1F7A8B #1F448B #301F8B
triadic
#1F448B #8B1F44 #448B1F
tetradic
#1F448B #8B1F7A #8B661F #1F8B30
square
#1F448B #8B1F7A #8B661F #1F8B30
split-complementary
#1F448B #8B301F #7A8B1F
monochromatic
#091327 #142C59 #1F448B #2A5CBD #4D7CD7

Accessibility & contrast

On white

9.30
#1F448B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F448B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F448B#FFFFFF#000000##FFFFFF
##1F448B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f448b;
/* rgb */ color: rgb(31, 68, 139);
/* oklch */ color: oklch(40.2% 0.126 261.8);
Tailwind
colors: {
  custom: {
    50: '#6b77ad',
    500: '#1f448b',
    950: '#000000',
  },
}
SCSS
$custom: #1f448b;
$custom-light: #6b77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f448b",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 139
  },
  "hsl": {
    "h": 219.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.12589,
    "h": 261.8
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#1F448B
secondary
#BA944C
accent
#AE41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1F448B

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

Preview Lab → · Contrast checker → · Palette generator →

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