#1F3293#1F3293

#1F3293 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.160 H 268.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1F3293
RGBrgb(31, 50, 147)
HSLhsl(230, 65%, 35%)
HSVhsv(230, 79%, 58%)
CMYKcmyk(78.9%, 66%, 0%, 42.4%)
CIE-LABlab(25.80, 29.12, -55.32)
CIE-LCHlch(25.80, 62.52, 297.76°)
OKLaboklab(37.18% -0.0044 -0.1601)
OKLCHoklch(37.18% 0.16 268.4)
XYZxyz(6.9703, 4.6783, 28.1338)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3293 #93801F
analogous
#1F6C93 #1F3293 #461F93
triadic
#1F3293 #931F32 #32931F
tetradic
#1F3293 #931F6C #93801F #1F9346
square
#1F3293 #931F6C #93801F #1F9346
split-complementary
#1F3293 #93461F #6C931F
monochromatic
#0A102E #142160 #1F3293 #2A43C6 #5268DA

Accessibility & contrast

On white

10.85
#1F3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1F3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3293
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3293#FFFFFF#000000##FFFFFF
##1F32931.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f3293;
/* rgb */ color: rgb(31, 50, 147);
/* oklch */ color: oklch(37.2% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f69b4',
    500: '#1f3293',
    950: '#000000',
  },
}
SCSS
$custom: #1f3293;
$custom-light: #6f69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3293",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 230.172,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37179,
    "c": 0.16012,
    "h": 268.4
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#1F3293
secondary
#BEAC50
accent
#CD40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1F3293

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

Preview Lab → · Contrast checker → · Palette generator →

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