#1F4293#1F4293

#1F4293 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.140 H 263.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1F4293
RGBrgb(31, 66, 147)
HSLhsl(222, 65%, 35%)
HSVhsv(222, 79%, 58%)
CMYKcmyk(78.9%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.14, 18.19, -48.24)
CIE-LCHlch(30.14, 51.55, 290.66°)
OKLaboklab(40.42% -0.0154 -0.139)
OKLCHoklch(40.42% 0.14 263.7)
XYZxyz(7.7779, 6.2934, 28.4029)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4293 #93701F
analogous
#1F7C93 #1F4293 #361F93
triadic
#1F4293 #931F42 #42931F
tetradic
#1F4293 #931F7C #93701F #1F9336
square
#1F4293 #931F7C #93701F #1F9336
split-complementary
#1F4293 #93361F #7C931F
monochromatic
#0A152E #142B60 #1F4293 #2A59C6 #527BDA

Accessibility & contrast

On white

9.30
#1F4293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1F4293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4293
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4293#FFFFFF#000000##FFFFFF
##1F42931.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4293;
/* rgb */ color: rgb(31, 66, 147);
/* oklch */ color: oklch(40.4% 0.140 263.7);
Tailwind
colors: {
  custom: {
    50: '#6d75b3',
    500: '#1f4293',
    950: '#000000',
  },
}
SCSS
$custom: #1f4293;
$custom-light: #6d75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4293",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 221.897,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40421,
    "c": 0.1399,
    "h": 263.7
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#1F4293
secondary
#BE9D50
accent
#B540E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F4293

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

Preview Lab → · Contrast checker → · Palette generator →

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