#1F468F#1F468F

#1F468F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.129 H 261.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1F468F
RGBrgb(31, 70, 143)
HSLhsl(219, 64%, 34%)
HSVhsv(219, 78%, 56%)
CMYKcmyk(78.3%, 51%, 0%, 43.9%)
CIE-LABlab(31.01, 13.84, -44.39)
CIE-LCHlch(31.01, 46.50, 287.32°)
OKLaboklab(40.99% -0.0191 -0.1276)
OKLCHoklch(40.99% 0.129 261.5)
XYZxyz(7.7114, 6.6539, 26.8592)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F468F #8F681F
analogous
#1F7E8F #1F468F #301F8F
triadic
#1F468F #8F1F46 #468F1F
tetradic
#1F468F #8F1F7E #8F681F #1F8F30
square
#1F468F #8F1F7E #8F681F #1F8F30
split-complementary
#1F468F #8F301F #7E8F1F
monochromatic
#09152A #142D5D #1F468F #2A5FC1 #4F7FD9

Accessibility & contrast

On white

9.01
#1F468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F468F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F468F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F468F#FFFFFF#000000##FFFFFF
##1F468F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f468f;
/* rgb */ color: rgb(31, 70, 143);
/* oklch */ color: oklch(41.0% 0.129 261.5);
Tailwind
colors: {
  custom: {
    50: '#6c78b0',
    500: '#1f468f',
    950: '#000000',
  },
}
SCSS
$custom: #1f468f;
$custom-light: #6c78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f468f",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 219.107,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40985,
    "c": 0.12906,
    "h": 261.5
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#1F468F
secondary
#BC964E
accent
#AD40E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #1F468F

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

Preview Lab → · Contrast checker → · Palette generator →

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