#1F2D84#1F2D84

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

Color values

HEX#1F2D84
RGBrgb(31, 45, 132)
HSLhsl(232, 62%, 32%)
HSVhsv(232, 77%, 52%)
CMYKcmyk(76.5%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.11, 26.74, -50.40)
CIE-LCHlch(23.11, 57.05, 297.95°)
OKLaboklab(34.78% -0.0005 -0.1457)
OKLCHoklch(34.78% 0.146 269.8)
XYZxyz(5.6669, 3.8334, 22.2666)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D84 #84761F
analogous
#1F6084 #1F2D84 #441F84
triadic
#1F2D84 #841F2D #2D841F
tetradic
#1F2D84 #841F60 #84761F #1F8444
square
#1F2D84 #841F60 #84761F #1F8444
split-complementary
#1F2D84 #84441F #60841F
monochromatic
#080B21 #131C52 #1F2D84 #2B3EB6 #495CD4

Accessibility & contrast

On white

11.89
#1F2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1F2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2D84
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D84#FFFFFF#000000##FFFFFF
##1F2D841.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f2d84;
/* rgb */ color: rgb(31, 45, 132);
/* oklch */ color: oklch(34.8% 0.146 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b66a9',
    500: '#1f2d84',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d84;
$custom-light: #6b66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d84",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 231.683,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34777,
    "c": 0.14569,
    "h": 269.8
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#1F2D84
secondary
#B7A748
accent
#CF43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1F2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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