#1F346B#1F346B

#1F346B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.100 H 265.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1F346B
RGBrgb(31, 52, 107)
HSLhsl(223, 55%, 27%)
HSVhsv(223, 71%, 42%)
CMYKcmyk(71%, 51.4%, 0%, 58%)
CIE-LABlab(23.03, 11.93, -34.63)
CIE-LCHlch(23.03, 36.63, 289.01°)
OKLaboklab(34.07% -0.0075 -0.0993)
OKLCHoklch(34.07% 0.1 265.7)
XYZxyz(4.4460, 3.8084, 14.4079)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F346B #6B561F
analogous
#1F5A6B #1F346B #301F6B
triadic
#1F346B #6B1F34 #346B1F
tetradic
#1F346B #6B1F5A #6B561F #1F6B30
square
#1F346B #6B1F5A #6B561F #1F6B30
split-complementary
#1F346B #6B301F #5A6B1F
monochromatic
#070C18 #111D3C #1F346B #2D4B9A #3D63C7

Accessibility & contrast

On white

11.92
#1F346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1F346B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F346B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F346B#FFFFFF#000000##FFFFFF
##1F346B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163B6D
Deuteranopia (green-blind)
#04346A
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f346b;
/* rgb */ color: rgb(31, 52, 107);
/* oklch */ color: oklch(34.1% 0.100 265.7);
Tailwind
colors: {
  custom: {
    50: '#656b96',
    500: '#1f346b',
    950: '#000000',
  },
}
SCSS
$custom: #1f346b;
$custom-light: #656b96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f346b",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 223.421,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34066,
    "c": 0.09955,
    "h": 265.7
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#1F346B
secondary
#9F8747
accent
#B549DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1F346B

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

Preview Lab → · Contrast checker → · Palette generator →

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