#1F468D#1F468D

#1F468D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.126 H 261.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1F468D
RGBrgb(31, 70, 141)
HSLhsl(219, 64%, 34%)
HSVhsv(219, 78%, 55%)
CMYKcmyk(78%, 50.4%, 0%, 44.7%)
CIE-LABlab(30.86, 13.04, -43.39)
CIE-LCHlch(30.86, 45.31, 286.73°)
OKLaboklab(40.83% -0.0193 -0.1247)
OKLCHoklch(40.83% 0.126 261.2)
XYZxyz(7.5612, 6.5939, 26.0684)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F468D #8D661F
analogous
#1F7D8D #1F468D #2F1F8D
triadic
#1F468D #8D1F46 #468D1F
tetradic
#1F468D #8D1F7D #8D661F #1F8D2F
square
#1F468D #8D1F7D #8D661F #1F8D2F
split-complementary
#1F468D #8D2F1F #7D8D1F
monochromatic
#091429 #142D5B #1F468D #2A5FBF #4E7FD8

Accessibility & contrast

On white

9.06
#1F468D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1F468D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F468D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F468D#FFFFFF#000000##FFFFFF
##1F468D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f468d;
/* rgb */ color: rgb(31, 70, 141);
/* oklch */ color: oklch(40.8% 0.126 261.2);
Tailwind
colors: {
  custom: {
    50: '#6c78af',
    500: '#1f468d',
    950: '#000000',
  },
}
SCSS
$custom: #1f468d;
$custom-light: #6c78af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f468d",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 141
  },
  "hsl": {
    "h": 218.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40831,
    "c": 0.1262,
    "h": 261.2
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#1F468D
secondary
#BB944D
accent
#AC41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1F468D

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

Preview Lab → · Contrast checker → · Palette generator →

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