#1F356B#1F356B

#1F356B is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.098 H 265.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1F356B
RGBrgb(31, 53, 107)
HSLhsl(223, 55%, 27%)
HSVhsv(223, 71%, 42%)
CMYKcmyk(71%, 50.5%, 0%, 58%)
CIE-LABlab(23.33, 11.22, -34.14)
CIE-LCHlch(23.33, 35.93, 288.20°)
OKLaboklab(34.3% -0.0086 -0.0978)
OKLCHoklch(34.3% 0.098 265)
XYZxyz(4.4911, 3.8986, 14.4229)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F356B #6B551F
analogous
#1F5B6B #1F356B #2F1F6B
triadic
#1F356B #6B1F35 #356B1F
tetradic
#1F356B #6B1F5B #6B551F #1F6B2F
square
#1F356B #6B1F5B #6B551F #1F6B2F
split-complementary
#1F356B #6B2F1F #5B6B1F
monochromatic
#070C18 #111D3C #1F356B #2D4D9A #3D65C7

Accessibility & contrast

On white

11.80
#1F356B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1F356B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F356B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F356B#FFFFFF#000000##FFFFFF
##1F356B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6D
Deuteranopia (green-blind)
#07346A
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1f356b;
/* rgb */ color: rgb(31, 53, 107);
/* oklch */ color: oklch(34.3% 0.098 265.0);
Tailwind
colors: {
  custom: {
    50: '#646b96',
    500: '#1f356b',
    950: '#000000',
  },
}
SCSS
$custom: #1f356b;
$custom-light: #646b96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f356b",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 107
  },
  "hsl": {
    "h": 222.632,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34299,
    "c": 0.09816,
    "h": 265
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#1F356B
secondary
#9F8647
accent
#B349DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1F356B

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

Preview Lab → · Contrast checker → · Palette generator →

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