#1F328F#1F328F

#1F328F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.155 H 268.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1F328F
RGBrgb(31, 50, 143)
HSLhsl(230, 64%, 34%)
HSVhsv(230, 78%, 56%)
CMYKcmyk(78.3%, 65%, 0%, 43.9%)
CIE-LABlab(25.43, 27.59, -53.46)
CIE-LCHlch(25.43, 60.16, 297.30°)
OKLaboklab(36.79% -0.0042 -0.1546)
OKLCHoklch(36.79% 0.155 268.4)
XYZxyz(6.6619, 4.5549, 26.5094)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F328F #8F7C1F
analogous
#1F6A8F #1F328F #441F8F
triadic
#1F328F #8F1F32 #328F1F
tetradic
#1F328F #8F1F6A #8F7C1F #1F8F44
square
#1F328F #8F1F6A #8F7C1F #1F8F44
split-complementary
#1F328F #8F441F #6A8F1F
monochromatic
#090F2A #14205D #1F328F #2A44C1 #4F67D9

Accessibility & contrast

On white

10.99
#1F328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1F328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F328F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F328F#FFFFFF#000000##FFFFFF
##1F328F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f328f;
/* rgb */ color: rgb(31, 50, 143);
/* oklch */ color: oklch(36.8% 0.155 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e69b1',
    500: '#1f328f',
    950: '#000000',
  },
}
SCSS
$custom: #1f328f;
$custom-light: #6e69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f328f",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 229.821,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36792,
    "c": 0.15467,
    "h": 268.4
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#1F328F
secondary
#BCA94E
accent
#CB40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1F328F

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

Preview Lab → · Contrast checker → · Palette generator →

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