#1F356C#1F356C

#1F356C is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.100 H 265.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#1F356C
RGBrgb(31, 53, 108)
HSLhsl(223, 55%, 27%)
HSVhsv(223, 71%, 42%)
CMYKcmyk(71.3%, 50.9%, 0%, 57.6%)
CIE-LABlab(23.40, 11.62, -34.67)
CIE-LCHlch(23.40, 36.56, 288.53°)
OKLaboklab(34.38% -0.0084 -0.0993)
OKLCHoklch(34.38% 0.1 265.2)
XYZxyz(4.5440, 3.9198, 14.7016)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F356C #6C561F
analogous
#1F5C6C #1F356C #2F1F6C
triadic
#1F356C #6C1F35 #356C1F
tetradic
#1F356C #6C1F5C #6C561F #1F6C2F
square
#1F356C #6C1F5C #6C561F #1F6C2F
split-complementary
#1F356C #6C2F1F #5C6C1F
monochromatic
#070C18 #111E3C #1F356C #2D4C9C #3E65C8

Accessibility & contrast

On white

11.77
#1F356C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F356C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F356C#FFFFFF#000000##FFFFFF
##1F356C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173B6E
Deuteranopia (green-blind)
#05346B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1f356c;
/* rgb */ color: rgb(31, 53, 108);
/* oklch */ color: oklch(34.4% 0.100 265.2);
Tailwind
colors: {
  custom: {
    50: '#656b96',
    500: '#1f356c',
    950: '#000000',
  },
}
SCSS
$custom: #1f356c;
$custom-light: #656b96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f356c",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 108
  },
  "hsl": {
    "h": 222.857,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34376,
    "c": 0.09971,
    "h": 265.2
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#1F356C
secondary
#A08747
accent
#B449DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1F356C

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

Preview Lab → · Contrast checker → · Palette generator →

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