#1F4093#1F4093

#1F4093 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.142 H 264.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1F4093
RGBrgb(31, 64, 147)
HSLhsl(223, 65%, 35%)
HSVhsv(223, 79%, 58%)
CMYKcmyk(78.9%, 56.5%, 0%, 42.4%)
CIE-LABlab(29.57, 19.57, -49.16)
CIE-LCHlch(29.57, 52.91, 291.70°)
OKLaboklab(39.99% -0.0139 -0.1418)
OKLCHoklch(39.99% 0.142 264.4)
XYZxyz(7.6631, 6.0638, 28.3647)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4093 #93721F
analogous
#1F7A93 #1F4093 #381F93
triadic
#1F4093 #931F40 #40931F
tetradic
#1F4093 #931F7A #93721F #1F9338
square
#1F4093 #931F7A #93721F #1F9338
split-complementary
#1F4093 #93381F #7A931F
monochromatic
#0A142E #142A60 #1F4093 #2A56C6 #5279DA

Accessibility & contrast

On white

9.49
#1F4093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1F4093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4093
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4093#FFFFFF#000000##FFFFFF
##1F40931.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f4093;
/* rgb */ color: rgb(31, 64, 147);
/* oklch */ color: oklch(40.0% 0.142 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e74b3',
    500: '#1f4093',
    950: '#000000',
  },
}
SCSS
$custom: #1f4093;
$custom-light: #6e74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4093",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 147
  },
  "hsl": {
    "h": 222.931,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.14248,
    "h": 264.4
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#1F4093
secondary
#BE9F50
accent
#B840E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F4093

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

Preview Lab → · Contrast checker → · Palette generator →

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