#1F346A#1F346A

#1F346A is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.098 H 265.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1F346A
RGBrgb(31, 52, 106)
HSLhsl(223, 55%, 27%)
HSVhsv(223, 71%, 42%)
CMYKcmyk(70.8%, 50.9%, 0%, 58.4%)
CIE-LABlab(22.96, 11.53, -34.10)
CIE-LCHlch(22.96, 35.99, 288.69°)
OKLaboklab(33.99% -0.0077 -0.0977)
OKLCHoklch(33.99% 0.098 265.5)
XYZxyz(4.3937, 3.7875, 14.1324)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F346A #6A551F
analogous
#1F5A6A #1F346A #301F6A
triadic
#1F346A #6A1F34 #346A1F
tetradic
#1F346A #6A1F5A #6A551F #1F6A30
square
#1F346A #6A1F5A #6A551F #1F6A30
split-complementary
#1F346A #6A301F #5A6A1F
monochromatic
#070C18 #111D3B #1F346A #2D4B99 #3D64C6

Accessibility & contrast

On white

11.95
#1F346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F346A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F346A#FFFFFF#000000##FFFFFF
##1F346A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#063469
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f346a;
/* rgb */ color: rgb(31, 52, 106);
/* oklch */ color: oklch(34.0% 0.098 265.5);
Tailwind
colors: {
  custom: {
    50: '#646b95',
    500: '#1f346a',
    950: '#000000',
  },
}
SCSS
$custom: #1f346a;
$custom-light: #646b95;
$custom-dark: #000000;
JSON
{
  "hex": "#1f346a",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 223.2,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33988,
    "c": 0.098,
    "h": 265.5
  },
  "luminance": 0.03788
}

Semantic roles & 50–950 ramp

primary
#1F346A
secondary
#9E8647
accent
#B54ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1F346A

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

Preview Lab → · Contrast checker → · Palette generator →

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