#1F4890#1F4890

#1F4890 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.128 H 260.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1F4890
RGBrgb(31, 72, 144)
HSLhsl(218, 65%, 34%)
HSVhsv(218, 78%, 56%)
CMYKcmyk(78.5%, 50%, 0%, 43.5%)
CIE-LABlab(31.67, 12.88, -43.93)
CIE-LCHlch(31.67, 45.78, 286.34°)
OKLaboklab(41.51% -0.0206 -0.1263)
OKLCHoklch(41.51% 0.128 260.7)
XYZxyz(7.9147, 6.9387, 27.3023)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4890 #90671F
analogous
#1F8190 #1F4890 #2F1F90
triadic
#1F4890 #901F48 #48901F
tetradic
#1F4890 #901F81 #90671F #1F902F
square
#1F4890 #901F81 #90671F #1F902F
split-complementary
#1F4890 #902F1F #81901F
monochromatic
#09162B #142F5E #1F4890 #2A61C2 #5082D9

Accessibility & contrast

On white

8.79
#1F4890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1F4890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4890
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4890#FFFFFF#000000##FFFFFF
##1F48901.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5093
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4890;
/* rgb */ color: rgb(31, 72, 144);
/* oklch */ color: oklch(41.5% 0.128 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c7ab1',
    500: '#1f4890',
    950: '#000000',
  },
}
SCSS
$custom: #1f4890;
$custom-light: #6c7ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4890",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 144
  },
  "hsl": {
    "h": 218.23,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.12794,
    "h": 260.7
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#1F4890
secondary
#BC944E
accent
#AB40E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F4890

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

Preview Lab → · Contrast checker → · Palette generator →

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