#1F468C#1F468C

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

Color values

HEX#1F468C
RGBrgb(31, 70, 140)
HSLhsl(219, 64%, 34%)
HSVhsv(219, 78%, 55%)
CMYKcmyk(77.9%, 50%, 0%, 45.1%)
CIE-LABlab(30.79, 12.64, -42.89)
CIE-LCHlch(30.79, 44.71, 286.42°)
OKLaboklab(40.76% -0.0195 -0.1232)
OKLCHoklch(40.76% 0.125 261)
XYZxyz(7.4871, 6.5642, 25.6783)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F468C #8C651F
analogous
#1F7C8C #1F468C #2E1F8C
triadic
#1F468C #8C1F46 #468C1F
tetradic
#1F468C #8C1F7C #8C651F #1F8C2E
square
#1F468C #8C1F7C #8C651F #1F8C2E
split-complementary
#1F468C #8C2E1F #7C8C1F
monochromatic
#091428 #142D5A #1F468C #2A5FBE #4E7FD8

Accessibility & contrast

On white

9.08
#1F468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F468C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F468C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F468C#FFFFFF#000000##FFFFFF
##1F468C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f468c;
/* rgb */ color: rgb(31, 70, 140);
/* oklch */ color: oklch(40.8% 0.125 261.0);
Tailwind
colors: {
  custom: {
    50: '#6c78ae',
    500: '#1f468c',
    950: '#000000',
  },
}
SCSS
$custom: #1f468c;
$custom-light: #6c78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f468c",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 218.532,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40755,
    "c": 0.12476,
    "h": 261
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#1F468C
secondary
#BB934C
accent
#AB41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1F468C

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

Preview Lab → · Contrast checker → · Palette generator →

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