#1F3CBC#1F3CBC

#1F3CBC is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.0% C 0.202 H 266.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1F3CBC
RGBrgb(31, 60, 188)
HSLhsl(229, 72%, 43%)
HSVhsv(229, 84%, 74%)
CMYKcmyk(83.5%, 68.1%, 0%, 26.3%)
CIE-LABlab(32.15, 37.98, -69.57)
CIE-LCHlch(32.15, 79.26, 298.63°)
OKLaboklab(43.01% -0.0116 -0.2016)
OKLCHoklch(43.01% 0.202 266.7)
XYZxyz(11.2549, 7.1525, 48.3546)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3CBC #BC9F1F
analogous
#1F8ABC #1F3CBC #501FBC
triadic
#1F3CBC #BC1F3C #3CBC1F
tetradic
#1F3CBC #BC1F8A #BC9F1F #1FBC50
square
#1F3CBC #BC1F8A #BC9F1F #1FBC50
split-complementary
#1F3CBC #BC501F #8ABC1F
monochromatic
#0E1A53 #162B87 #1F3CBC #3A58DE #6E85E7

Accessibility & contrast

On white

8.64
#1F3CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1F3CBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3CBC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3CBC#FFFFFF#000000##FFFFFF
##1F3CBC1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f3cbc;
/* rgb */ color: rgb(31, 60, 188);
/* oklch */ color: oklch(43.0% 0.202 266.7);
Tailwind
colors: {
  custom: {
    50: '#7972d1',
    500: '#1f3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #1f3cbc;
$custom-light: #7972d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3cbc",
  "rgb": {
    "r": 31,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 228.917,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.20195,
    "h": 266.7
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#1F3CBC
secondary
#CDBB69
accent
#CD39EE
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #1F3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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