#1F355A#1F355A

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

Color values

HEX#1F355A
RGBrgb(31, 53, 90)
HSLhsl(218, 49%, 24%)
HSVhsv(218, 66%, 35%)
CMYKcmyk(65.6%, 41.1%, 0%, 64.7%)
CIE-LABlab(22.21, 4.48, -24.85)
CIE-LCHlch(22.21, 25.25, 280.21°)
OKLaboklab(33.08% -0.0121 -0.0705)
OKLCHoklch(33.08% 0.072 260.2)
XYZxyz(3.6830, 3.5754, 10.1669)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F355A #5A441F
analogous
#1F525A #1F355A #261F5A
triadic
#1F355A #5A1F35 #355A1F
tetradic
#1F355A #5A1F52 #5A441F #1F5A26
square
#1F355A #5A1F52 #5A441F #1F5A26
split-complementary
#1F355A #5A261F #525A1F
monochromatic
#080D17 #0F1A2C #1F355A #2F5088 #3E6BB5

Accessibility & contrast

On white

12.24
#1F355A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F355A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F355A#FFFFFF#000000##FFFFFF
##1F355A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385B
Deuteranopia (green-blind)
#1D3359
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f355a;
/* rgb */ color: rgb(31, 53, 90);
/* oklch */ color: oklch(33.1% 0.072 260.2);
Tailwind
colors: {
  custom: {
    50: '#616b89',
    500: '#1f355a',
    950: '#000000',
  },
}
SCSS
$custom: #1f355a;
$custom-light: #616b89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f355a",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 90
  },
  "hsl": {
    "h": 217.627,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.07157,
    "h": 260.2
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#1F355A
secondary
#8F7446
accent
#A54FD8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1F355A

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

Preview Lab → · Contrast checker → · Palette generator →

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