#1F326F#1F326F

#1F326F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.108 H 267.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1F326F
RGBrgb(31, 50, 111)
HSLhsl(226, 56%, 28%)
HSVhsv(226, 72%, 44%)
CMYKcmyk(72.1%, 55%, 0%, 56.5%)
CIE-LABlab(22.72, 14.96, -37.69)
CIE-LCHlch(22.72, 40.55, 291.65°)
OKLaboklab(33.93% -0.005 -0.1083)
OKLCHoklch(33.93% 0.108 267.3)
XYZxyz(4.5739, 3.7198, 15.5128)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F326F #6F5C1F
analogous
#1F5A6F #1F326F #341F6F
triadic
#1F326F #6F1F32 #326F1F
tetradic
#1F326F #6F1F5A #6F5C1F #1F6F34
square
#1F326F #6F1F5A #6F5C1F #1F6F34
split-complementary
#1F326F #6F341F #5A6F1F
monochromatic
#070B18 #121C3F #1F326F #2C489F #3F60C9

Accessibility & contrast

On white

12.04
#1F326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1F326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F326F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F326F#FFFFFF#000000##FFFFFF
##1F326F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3A71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f326f;
/* rgb */ color: rgb(31, 50, 111);
/* oklch */ color: oklch(33.9% 0.108 267.3);
Tailwind
colors: {
  custom: {
    50: '#666999',
    500: '#1f326f',
    950: '#000000',
  },
}
SCSS
$custom: #1f326f;
$custom-light: #666999;
$custom-dark: #000000;
JSON
{
  "hex": "#1f326f",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 225.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33929,
    "c": 0.10844,
    "h": 267.3
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#1F326F
secondary
#A38D47
accent
#BC48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1F326F

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

Preview Lab → · Contrast checker → · Palette generator →

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