#1F328D#1F328D

#1F328D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.152 H 268.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#1F328D
RGBrgb(31, 50, 141)
HSLhsl(230, 64%, 34%)
HSVhsv(230, 78%, 55%)
CMYKcmyk(78%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.24, 26.81, -52.52)
CIE-LCHlch(25.24, 58.97, 297.05°)
OKLaboklab(36.6% -0.0042 -0.1519)
OKLCHoklch(36.6% 0.152 268.4)
XYZxyz(6.5117, 4.4949, 25.7185)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F328D #8D7A1F
analogous
#1F698D #1F328D #431F8D
triadic
#1F328D #8D1F32 #328D1F
tetradic
#1F328D #8D1F69 #8D7A1F #1F8D43
square
#1F328D #8D1F69 #8D7A1F #1F8D43
split-complementary
#1F328D #8D431F #698D1F
monochromatic
#090E29 #14205B #1F328D #2A44BF #4E66D8

Accessibility & contrast

On white

11.06
#1F328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1F328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F328D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F328D#FFFFFF#000000##FFFFFF
##1F328D1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f328d;
/* rgb */ color: rgb(31, 50, 141);
/* oklch */ color: oklch(36.6% 0.152 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d69af',
    500: '#1f328d',
    950: '#000000',
  },
}
SCSS
$custom: #1f328d;
$custom-light: #6d69af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f328d",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 229.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36601,
    "c": 0.15192,
    "h": 268.4
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#1F328D
secondary
#BBA84D
accent
#CA41E7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1F328D

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

Preview Lab → · Contrast checker → · Palette generator →

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