#1F356D#1F356D

#1F356D is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.101 H 265.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#1F356D
RGBrgb(31, 53, 109)
HSLhsl(223, 56%, 27%)
HSVhsv(223, 72%, 43%)
CMYKcmyk(71.6%, 51.4%, 0%, 57.3%)
CIE-LABlab(23.48, 12.02, -35.19)
CIE-LCHlch(23.48, 37.19, 288.86°)
OKLaboklab(34.45% -0.0083 -0.1009)
OKLCHoklch(34.45% 0.101 265.3)
XYZxyz(4.5975, 3.9412, 14.9835)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F356D #6D571F
analogous
#1F5C6D #1F356D #301F6D
triadic
#1F356D #6D1F35 #356D1F
tetradic
#1F356D #6D1F5C #6D571F #1F6D30
square
#1F356D #6D1F5C #6D571F #1F6D30
split-complementary
#1F356D #6D301F #5C6D1F
monochromatic
#070C18 #111E3D #1F356D #2D4C9D #3E65C8

Accessibility & contrast

On white

11.74
#1F356D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1F356D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F356D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F356D#FFFFFF#000000##FFFFFF
##1F356D1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C6F
Deuteranopia (green-blind)
#03356C
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1f356d;
/* rgb */ color: rgb(31, 53, 109);
/* oklch */ color: oklch(34.5% 0.101 265.3);
Tailwind
colors: {
  custom: {
    50: '#656b97',
    500: '#1f356d',
    950: '#000000',
  },
}
SCSS
$custom: #1f356d;
$custom-light: #656b97;
$custom-dark: #000000;
JSON
{
  "hex": "#1f356d",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 109
  },
  "hsl": {
    "h": 223.077,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34454,
    "c": 0.10125,
    "h": 265.3
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#1F356D
secondary
#A18847
accent
#B549DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1F356D

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

Preview Lab → · Contrast checker → · Palette generator →

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