#1F468E#1F468E

#1F468E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.128 H 261.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1F468E
RGBrgb(31, 70, 142)
HSLhsl(219, 64%, 34%)
HSVhsv(219, 78%, 56%)
CMYKcmyk(78.2%, 50.7%, 0%, 44.3%)
CIE-LABlab(30.93, 13.44, -43.89)
CIE-LCHlch(30.93, 45.90, 287.03°)
OKLaboklab(40.91% -0.0192 -0.1262)
OKLCHoklch(40.91% 0.128 261.3)
XYZxyz(7.6360, 6.6237, 26.4620)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F468E #8E671F
analogous
#1F7E8E #1F468E #301F8E
triadic
#1F468E #8E1F46 #468E1F
tetradic
#1F468E #8E1F7E #8E671F #1F8E30
square
#1F468E #8E1F7E #8E671F #1F8E30
split-complementary
#1F468E #8E301F #7E8E1F
monochromatic
#09142A #142D5C #1F468E #2A5FC0 #4F7FD9

Accessibility & contrast

On white

9.03
#1F468E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F468E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F468E#FFFFFF#000000##FFFFFF
##1F468E1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f468e;
/* rgb */ color: rgb(31, 70, 142);
/* oklch */ color: oklch(40.9% 0.128 261.3);
Tailwind
colors: {
  custom: {
    50: '#6c78b0',
    500: '#1f468e',
    950: '#000000',
  },
}
SCSS
$custom: #1f468e;
$custom-light: #6c78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f468e",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 218.919,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.12763,
    "h": 261.3
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#1F468E
secondary
#BB954D
accent
#AD41E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #1F468E

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

Preview Lab → · Contrast checker → · Palette generator →

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