#1F355B#1F355B

#1F355B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.073 H 260.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1F355B
RGBrgb(31, 53, 91)
HSLhsl(218, 49%, 24%)
HSVhsv(218, 66%, 36%)
CMYKcmyk(65.9%, 41.8%, 0%, 64.3%)
CIE-LABlab(22.28, 4.87, -25.41)
CIE-LCHlch(22.28, 25.87, 280.85°)
OKLaboklab(33.14% -0.0119 -0.0722)
OKLCHoklch(33.14% 0.073 260.7)
XYZxyz(3.7258, 3.5925, 10.3926)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F355B #5B451F
analogous
#1F535B #1F355B #271F5B
triadic
#1F355B #5B1F35 #355B1F
tetradic
#1F355B #5B1F53 #5B451F #1F5B27
square
#1F355B #5B1F53 #5B451F #1F5B27
split-complementary
#1F355B #5B271F #535B1F
monochromatic
#080D17 #0F1A2D #1F355B #2F5089 #3E6AB6

Accessibility & contrast

On white

12.22
#1F355B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1F355B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F355B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F355B#FFFFFF#000000##FFFFFF
##1F355B1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385D
Deuteranopia (green-blind)
#1C335A
Tritanopia (blue-blind)
#003E43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f355b;
/* rgb */ color: rgb(31, 53, 91);
/* oklch */ color: oklch(33.1% 0.073 260.7);
Tailwind
colors: {
  custom: {
    50: '#616b89',
    500: '#1f355b',
    950: '#000000',
  },
}
SCSS
$custom: #1f355b;
$custom-light: #616b89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f355b",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 91
  },
  "hsl": {
    "h": 218,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33143,
    "c": 0.07314,
    "h": 260.7
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#1F355B
secondary
#907546
accent
#A64FD9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1F355B

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

Preview Lab → · Contrast checker → · Palette generator →

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