#1F4593#1F4593

#1F4593 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.136 H 262.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1F4593
RGBrgb(31, 69, 147)
HSLhsl(220, 65%, 35%)
HSVhsv(220, 79%, 58%)
CMYKcmyk(78.9%, 53.1%, 0%, 42.4%)
CIE-LABlab(31.00, 16.13, -46.84)
CIE-LCHlch(31.00, 49.54, 289.01°)
OKLaboklab(41.08% -0.0177 -0.1349)
OKLCHoklch(41.08% 0.136 262.5)
XYZxyz(7.9578, 6.6532, 28.4629)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4593 #936D1F
analogous
#1F7F93 #1F4593 #331F93
triadic
#1F4593 #931F45 #45931F
tetradic
#1F4593 #931F7F #936D1F #1F9333
square
#1F4593 #931F7F #936D1F #1F9333
split-complementary
#1F4593 #93331F #7F931F
monochromatic
#0A162E #142D60 #1F4593 #2A5DC6 #527FDA

Accessibility & contrast

On white

9.01
#1F4593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4593
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4593#FFFFFF#000000##FFFFFF
##1F45931.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4F96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4593;
/* rgb */ color: rgb(31, 69, 147);
/* oklch */ color: oklch(41.1% 0.136 262.5);
Tailwind
colors: {
  custom: {
    50: '#6d78b3',
    500: '#1f4593',
    950: '#000000',
  },
}
SCSS
$custom: #1f4593;
$custom-light: #6d78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4593",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 147
  },
  "hsl": {
    "h": 220.345,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.13604,
    "h": 262.5
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#1F4593
secondary
#BE9A50
accent
#B140E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F4593

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

Preview Lab → · Contrast checker → · Palette generator →

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