#1F4B92#1F4B92

#1F4B92 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.3% C 0.127 H 259.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1F4B92
RGBrgb(31, 75, 146)
HSLhsl(217, 65%, 35%)
HSVhsv(217, 79%, 57%)
CMYKcmyk(78.8%, 48.6%, 0%, 42.7%)
CIE-LABlab(32.70, 11.64, -43.50)
CIE-LCHlch(32.70, 45.03, 284.99°)
OKLaboklab(42.35% -0.0228 -0.1249)
OKLCHoklch(42.35% 0.127 259.6)
XYZxyz(8.2676, 7.3978, 28.1807)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B92 #92661F
analogous
#1F8592 #1F4B92 #2C1F92
triadic
#1F4B92 #921F4B #4B921F
tetradic
#1F4B92 #921F85 #92661F #1F922C
square
#1F4B92 #921F85 #92661F #1F922C
split-complementary
#1F4B92 #922C1F #85921F
monochromatic
#0A172D #143160 #1F4B92 #2A65C4 #5186DA

Accessibility & contrast

On white

8.47
#1F4B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F4B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B92
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B92#FFFFFF#000000##FFFFFF
##1F4B921.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245295
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f4b92;
/* rgb */ color: rgb(31, 75, 146);
/* oklch */ color: oklch(42.3% 0.127 259.6);
Tailwind
colors: {
  custom: {
    50: '#6d7cb2',
    500: '#1f4b92',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b92;
$custom-light: #6d7cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b92",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 217.043,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.127,
    "h": 259.6
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#1F4B92
secondary
#BD9350
accent
#A840E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F4B92

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

Preview Lab → · Contrast checker → · Palette generator →

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