#1F356F#1F356F

#1F356F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.104 H 265.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1F356F
RGBrgb(31, 53, 111)
HSLhsl(224, 56%, 28%)
HSVhsv(224, 72%, 44%)
CMYKcmyk(72.1%, 52.3%, 0%, 56.5%)
CIE-LABlab(23.62, 12.83, -36.24)
CIE-LCHlch(23.62, 38.45, 289.49°)
OKLaboklab(34.61% -0.008 -0.104)
OKLCHoklch(34.61% 0.104 265.6)
XYZxyz(4.7064, 3.9847, 15.5569)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F356F #6F591F
analogous
#1F5D6F #1F356F #311F6F
triadic
#1F356F #6F1F35 #356F1F
tetradic
#1F356F #6F1F5D #6F591F #1F6F31
square
#1F356F #6F1F5D #6F591F #1F6F31
split-complementary
#1F356F #6F311F #5D6F1F
monochromatic
#070B18 #121E3F #1F356F #2C4C9F #3F65C9

Accessibility & contrast

On white

11.69
#1F356F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1F356F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F356F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F356F#FFFFFF#000000##FFFFFF
##1F356F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1f356f;
/* rgb */ color: rgb(31, 53, 111);
/* oklch */ color: oklch(34.6% 0.104 265.6);
Tailwind
colors: {
  custom: {
    50: '#656b99',
    500: '#1f356f',
    950: '#000000',
  },
}
SCSS
$custom: #1f356f;
$custom-light: #656b99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f356f",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 111
  },
  "hsl": {
    "h": 223.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34611,
    "c": 0.10431,
    "h": 265.6
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#1F356F
secondary
#A38A47
accent
#B648E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1F356F

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

Preview Lab → · Contrast checker → · Palette generator →

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