#1F356E#1F356E

#1F356E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.103 H 265.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1F356E
RGBrgb(31, 53, 110)
HSLhsl(223, 56%, 28%)
HSVhsv(223, 72%, 43%)
CMYKcmyk(71.8%, 51.8%, 0%, 56.9%)
CIE-LABlab(23.55, 12.43, -35.72)
CIE-LCHlch(23.55, 37.82, 289.18°)
OKLaboklab(34.53% -0.0081 -0.1025)
OKLCHoklch(34.53% 0.103 265.5)
XYZxyz(4.6517, 3.9628, 15.2686)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F356E #6E581F
analogous
#1F5C6E #1F356E #301F6E
triadic
#1F356E #6E1F35 #356E1F
tetradic
#1F356E #6E1F5C #6E581F #1F6E30
square
#1F356E #6E1F5C #6E581F #1F6E30
split-complementary
#1F356E #6E301F #5C6E1F
monochromatic
#070C18 #121E3E #1F356E #2C4C9E #3F65C9

Accessibility & contrast

On white

11.71
#1F356E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F356E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F356E#FFFFFF#000000##FFFFFF
##1F356E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#00356D
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1f356e;
/* rgb */ color: rgb(31, 53, 110);
/* oklch */ color: oklch(34.5% 0.103 265.5);
Tailwind
colors: {
  custom: {
    50: '#656b98',
    500: '#1f356e',
    950: '#000000',
  },
}
SCSS
$custom: #1f356e;
$custom-light: #656b98;
$custom-dark: #000000;
JSON
{
  "hex": "#1f356e",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 110
  },
  "hsl": {
    "h": 223.291,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.10278,
    "h": 265.5
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#1F356E
secondary
#A28947
accent
#B548DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1F356E

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

Preview Lab → · Contrast checker → · Palette generator →

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