#1F329C#1F329C

#1F329C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.172 H 268.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#1F329C
RGBrgb(31, 50, 156)
HSLhsl(231, 67%, 37%)
HSVhsv(231, 80%, 61%)
CMYKcmyk(80.1%, 67.9%, 0%, 38.8%)
CIE-LABlab(26.65, 32.53, -59.43)
CIE-LCHlch(26.65, 67.75, 298.70°)
OKLaboklab(38.07% -0.0049 -0.1721)
OKLCHoklch(38.07% 0.172 268.4)
XYZxyz(7.7043, 4.9719, 31.9997)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F329C #9C891F
analogous
#1F719C #1F329C #4B1F9C
triadic
#1F329C #9C1F32 #329C1F
tetradic
#1F329C #9C1F71 #9C891F #1F9C4B
square
#1F329C #9C1F71 #9C891F #1F9C4B
split-complementary
#1F329C #9C4B1F #719C1F
monochromatic
#0B1136 #152269 #1F329C #2942CF #586CDE

Accessibility & contrast

On white

10.53
#1F329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1F329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F329C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F329C#FFFFFF#000000##FFFFFF
##1F329C1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f329c;
/* rgb */ color: rgb(31, 50, 156);
/* oklch */ color: oklch(38.1% 0.172 268.4);
Tailwind
colors: {
  custom: {
    50: '#716aba',
    500: '#1f329c',
    950: '#000000',
  },
}
SCSS
$custom: #1f329c;
$custom-light: #716aba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f329c",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 230.88,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.17214,
    "h": 268.4
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#1F329C
secondary
#C1B155
accent
#D03EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1F329C

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

Preview Lab → · Contrast checker → · Palette generator →

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