#1F346D#1F346D

#1F346D is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.103 H 265.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1F346D
RGBrgb(31, 52, 109)
HSLhsl(224, 56%, 27%)
HSVhsv(224, 72%, 43%)
CMYKcmyk(71.6%, 52.3%, 0%, 57.3%)
CIE-LABlab(23.17, 12.73, -35.68)
CIE-LCHlch(23.17, 37.89, 289.64°)
OKLaboklab(34.22% -0.0073 -0.1024)
OKLCHoklch(34.22% 0.103 265.9)
XYZxyz(4.5524, 3.8510, 14.9684)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F346D #6D581F
analogous
#1F5B6D #1F346D #311F6D
triadic
#1F346D #6D1F34 #346D1F
tetradic
#1F346D #6D1F5B #6D581F #1F6D31
square
#1F346D #6D1F5B #6D581F #1F6D31
split-complementary
#1F346D #6D311F #5B6D1F
monochromatic
#070B18 #111D3D #1F346D #2D4B9D #3E63C8

Accessibility & contrast

On white

11.86
#1F346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1F346D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F346D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F346D#FFFFFF#000000##FFFFFF
##1F346D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6F
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f346d;
/* rgb */ color: rgb(31, 52, 109);
/* oklch */ color: oklch(34.2% 0.103 265.9);
Tailwind
colors: {
  custom: {
    50: '#656b97',
    500: '#1f346d',
    950: '#000000',
  },
}
SCSS
$custom: #1f346d;
$custom-light: #656b97;
$custom-dark: #000000;
JSON
{
  "hex": "#1f346d",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 223.846,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.10262,
    "h": 265.9
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#1F346D
secondary
#A18947
accent
#B749DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1F346D

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

Preview Lab → · Contrast checker → · Palette generator →

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