#1F3082#1F3082

#1F3082 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.139 H 268.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1F3082
RGBrgb(31, 48, 130)
HSLhsl(230, 61%, 32%)
HSVhsv(230, 76%, 51%)
CMYKcmyk(76.2%, 63.1%, 0%, 49%)
CIE-LABlab(23.73, 23.91, -48.14)
CIE-LCHlch(23.73, 53.75, 296.41°)
OKLaboklab(35.17% -0.0026 -0.139)
OKLCHoklch(35.17% 0.139 268.9)
XYZxyz(5.6499, 4.0163, 21.5922)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3082 #82711F
analogous
#1F6282 #1F3082 #401F82
triadic
#1F3082 #821F30 #30821F
tetradic
#1F3082 #821F62 #82711F #1F8240
square
#1F3082 #821F62 #82711F #1F8240
split-complementary
#1F3082 #82401F #62821F
monochromatic
#070C1F #131E51 #1F3082 #2B42B3 #4860D3

Accessibility & contrast

On white

11.64
#1F3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1F3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3082
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3082#FFFFFF#000000##FFFFFF
##1F30821.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1f3082;
/* rgb */ color: rgb(31, 48, 130);
/* oklch */ color: oklch(35.2% 0.139 268.9);
Tailwind
colors: {
  custom: {
    50: '#6a68a7',
    500: '#1f3082',
    950: '#000000',
  },
}
SCSS
$custom: #1f3082;
$custom-light: #6a68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3082",
  "rgb": {
    "r": 31,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 229.697,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.13906,
    "h": 268.9
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#1F3082
secondary
#B5A248
accent
#C943E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F3082

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

Preview Lab → · Contrast checker → · Palette generator →

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