#1F328C#1F328C

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

Color values

HEX#1F328C
RGBrgb(31, 50, 140)
HSLhsl(230, 64%, 34%)
HSVhsv(230, 78%, 55%)
CMYKcmyk(77.9%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.15, 26.43, -52.05)
CIE-LCHlch(25.15, 58.37, 296.92°)
OKLaboklab(36.51% -0.0041 -0.1505)
OKLCHoklch(36.51% 0.151 268.4)
XYZxyz(6.4377, 4.4653, 25.3285)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F328C #8C791F
analogous
#1F688C #1F328C #421F8C
triadic
#1F328C #8C1F32 #328C1F
tetradic
#1F328C #8C1F68 #8C791F #1F8C42
square
#1F328C #8C1F68 #8C791F #1F8C42
split-complementary
#1F328C #8C421F #688C1F
monochromatic
#090E28 #14205A #1F328C #2A44BE #4E66D8

Accessibility & contrast

On white

11.09
#1F328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F328C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F328C#FFFFFF#000000##FFFFFF
##1F328C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f328c;
/* rgb */ color: rgb(31, 50, 140);
/* oklch */ color: oklch(36.5% 0.151 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d69ae',
    500: '#1f328c',
    950: '#000000',
  },
}
SCSS
$custom: #1f328c;
$custom-light: #6d69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f328c",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 229.541,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.15054,
    "h": 268.4
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#1F328C
secondary
#BBA74C
accent
#CA41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1F328C

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

Preview Lab → · Contrast checker → · Palette generator →

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