#1F39BC#1F39BC

#1F39BC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.5% C 0.205 H 267.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1F39BC
RGBrgb(31, 57, 188)
HSLhsl(230, 72%, 43%)
HSVhsv(230, 84%, 74%)
CMYKcmyk(83.5%, 69.7%, 0%, 26.3%)
CIE-LABlab(31.46, 39.86, -70.71)
CIE-LCHlch(31.46, 81.18, 299.41°)
OKLaboklab(42.51% -0.0104 -0.205)
OKLCHoklch(42.51% 0.205 267.1)
XYZxyz(11.1021, 6.8470, 48.3037)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F39BC #BCA21F
analogous
#1F87BC #1F39BC #541FBC
triadic
#1F39BC #BC1F39 #39BC1F
tetradic
#1F39BC #BC1F87 #BCA21F #1FBC54
square
#1F39BC #BC1F87 #BCA21F #1FBC54
split-complementary
#1F39BC #BC541F #87BC1F
monochromatic
#0E1953 #162987 #1F39BC #3A55DE #6E82E7

Accessibility & contrast

On white

8.86
#1F39BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1F39BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F39BC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F39BC#FFFFFF#000000##FFFFFF
##1F39BC1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f39bc;
/* rgb */ color: rgb(31, 57, 188);
/* oklch */ color: oklch(42.5% 0.205 267.1);
Tailwind
colors: {
  custom: {
    50: '#796fd1',
    500: '#1f39bc',
    950: '#000000',
  },
}
SCSS
$custom: #1f39bc;
$custom-light: #796fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f39bc",
  "rgb": {
    "r": 31,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 230.064,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.20523,
    "h": 267.1
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#1F39BC
secondary
#CDBD69
accent
#D039EE
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #1F39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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