#1F2C86#1F2C86

#1F2C86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.150 H 270.0°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1F2C86
RGBrgb(31, 44, 134)
HSLhsl(232, 62%, 32%)
HSVhsv(232, 77%, 53%)
CMYKcmyk(76.9%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.04, 28.18, -51.76)
CIE-LCHlch(23.04, 58.94, 298.57°)
OKLaboklab(34.78% 0 -0.1497)
OKLCHoklch(34.78% 0.15 270)
XYZxyz(5.7674, 3.8133, 22.9817)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C86 #86791F
analogous
#1F6086 #1F2C86 #451F86
triadic
#1F2C86 #861F2C #2C861F
tetradic
#1F2C86 #861F60 #86791F #1F8645
square
#1F2C86 #861F60 #86791F #1F8645
split-complementary
#1F2C86 #86451F #60861F
monochromatic
#080B23 #141C54 #1F2C86 #2A3CB8 #4A5CD5

Accessibility & contrast

On white

11.91
#1F2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1F2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2C86
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2C86#FFFFFF#000000##FFFFFF
##1F2C861.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f2c86;
/* rgb */ color: rgb(31, 44, 134);
/* oklch */ color: oklch(34.8% 0.150 270.0);
Tailwind
colors: {
  custom: {
    50: '#6c65aa',
    500: '#1f2c86',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c86;
$custom-light: #6c65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c86",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 232.427,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.1497,
    "h": 270
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#1F2C86
secondary
#B8AA49
accent
#D142E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1F2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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