#1F448F#1F448F

#1F448F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.132 H 262.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1F448F
RGBrgb(31, 68, 143)
HSLhsl(220, 64%, 34%)
HSVhsv(220, 78%, 56%)
CMYKcmyk(78.3%, 52.4%, 0%, 43.9%)
CIE-LABlab(30.42, 15.22, -45.34)
CIE-LCHlch(30.42, 47.82, 288.55°)
OKLaboklab(40.54% -0.0174 -0.1305)
OKLCHoklch(40.54% 0.132 262.4)
XYZxyz(7.5883, 6.4079, 26.8182)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F448F #8F6A1F
analogous
#1F7C8F #1F448F #321F8F
triadic
#1F448F #8F1F44 #448F1F
tetradic
#1F448F #8F1F7C #8F6A1F #1F8F32
square
#1F448F #8F1F7C #8F6A1F #1F8F32
split-complementary
#1F448F #8F321F #7C8F1F
monochromatic
#09142A #142C5D #1F448F #2A5CC1 #4F7DD9

Accessibility & contrast

On white

9.20
#1F448F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1F448F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F448F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F448F#FFFFFF#000000##FFFFFF
##1F448F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f448f;
/* rgb */ color: rgb(31, 68, 143);
/* oklch */ color: oklch(40.5% 0.132 262.4);
Tailwind
colors: {
  custom: {
    50: '#6c77b0',
    500: '#1f448f',
    950: '#000000',
  },
}
SCSS
$custom: #1f448f;
$custom-light: #6c77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f448f",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 143
  },
  "hsl": {
    "h": 220.179,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.13163,
    "h": 262.4
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#1F448F
secondary
#BC984E
accent
#B040E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F448F

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

Preview Lab → · Contrast checker → · Palette generator →

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