#1F2D83#1F2D83

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

Color values

HEX#1F2D83
RGBrgb(31, 45, 131)
HSLhsl(232, 62%, 32%)
HSVhsv(232, 76%, 51%)
CMYKcmyk(76.3%, 65.6%, 0%, 48.6%)
CIE-LABlab(23.02, 26.36, -49.92)
CIE-LCHlch(23.02, 56.45, 297.83°)
OKLaboklab(34.68% -0.0005 -0.1443)
OKLCHoklch(34.68% 0.144 269.8)
XYZxyz(5.5988, 3.8062, 21.9079)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D83 #83751F
analogous
#1F5F83 #1F2D83 #431F83
triadic
#1F2D83 #831F2D #2D831F
tetradic
#1F2D83 #831F5F #83751F #1F8343
square
#1F2D83 #831F5F #83751F #1F8343
split-complementary
#1F2D83 #83431F #5F831F
monochromatic
#080B20 #131C52 #1F2D83 #2B3EB4 #495CD4

Accessibility & contrast

On white

11.92
#1F2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2D83
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D83#FFFFFF#000000##FFFFFF
##1F2D831.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f2d83;
/* rgb */ color: rgb(31, 45, 131);
/* oklch */ color: oklch(34.7% 0.144 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b65a8',
    500: '#1f2d83',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d83;
$custom-light: #6b65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d83",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 231.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3468,
    "c": 0.1443,
    "h": 269.8
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#1F2D83
secondary
#B6A648
accent
#CE43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1F2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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