#1F4492#1F4492

#1F4492 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.136 H 262.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1F4492
RGBrgb(31, 68, 146)
HSLhsl(221, 65%, 35%)
HSVhsv(221, 79%, 57%)
CMYKcmyk(78.8%, 53.4%, 0%, 42.7%)
CIE-LABlab(30.64, 16.42, -46.82)
CIE-LCHlch(30.64, 49.61, 289.32°)
OKLaboklab(40.78% -0.017 -0.1348)
OKLCHoklch(40.78% 0.136 262.8)
XYZxyz(7.8186, 6.5000, 28.0311)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4492 #926D1F
analogous
#1F7D92 #1F4492 #341F92
triadic
#1F4492 #921F44 #44921F
tetradic
#1F4492 #921F7D #926D1F #1F9234
square
#1F4492 #921F7D #926D1F #1F9234
split-complementary
#1F4492 #92341F #7D921F
monochromatic
#0A152D #142C60 #1F4492 #2A5CC4 #517DDA

Accessibility & contrast

On white

9.13
#1F4492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F4492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4492
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4492#FFFFFF#000000##FFFFFF
##1F44921.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4492;
/* rgb */ color: rgb(31, 68, 146);
/* oklch */ color: oklch(40.8% 0.136 262.8);
Tailwind
colors: {
  custom: {
    50: '#6d77b3',
    500: '#1f4492',
    950: '#000000',
  },
}
SCSS
$custom: #1f4492;
$custom-light: #6d77b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4492",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 220.696,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.1359,
    "h": 262.8
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#1F4492
secondary
#BD9A50
accent
#B240E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F4492

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

Preview Lab → · Contrast checker → · Palette generator →

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