#1F328B#1F328B

#1F328B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.149 H 268.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1F328B
RGBrgb(31, 50, 139)
HSLhsl(229, 64%, 33%)
HSVhsv(229, 78%, 55%)
CMYKcmyk(77.7%, 64%, 0%, 45.5%)
CIE-LABlab(25.06, 26.04, -51.57)
CIE-LCHlch(25.06, 57.78, 296.79°)
OKLaboklab(36.41% -0.0041 -0.1491)
OKLCHoklch(36.41% 0.149 268.4)
XYZxyz(6.3643, 4.4359, 24.9419)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F328B #8B781F
analogous
#1F688B #1F328B #421F8B
triadic
#1F328B #8B1F32 #328B1F
tetradic
#1F328B #8B1F68 #8B781F #1F8B42
square
#1F328B #8B1F68 #8B781F #1F8B42
split-complementary
#1F328B #8B421F #688B1F
monochromatic
#090E27 #142059 #1F328B #2A44BD #4D65D7

Accessibility & contrast

On white

11.13
#1F328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F328B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F328B#FFFFFF#000000##FFFFFF
##1F328B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f328b;
/* rgb */ color: rgb(31, 50, 139);
/* oklch */ color: oklch(36.4% 0.149 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d69ae',
    500: '#1f328b',
    950: '#000000',
  },
}
SCSS
$custom: #1f328b;
$custom-light: #6d69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f328b",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 229.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36412,
    "c": 0.14916,
    "h": 268.4
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#1F328B
secondary
#BAA74C
accent
#C941E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1F328B

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

Preview Lab → · Contrast checker → · Palette generator →

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