#1F375A#1F375A

#1F375A is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.6% C 0.069 H 257.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1F375A
RGBrgb(31, 55, 90)
HSLhsl(216, 49%, 24%)
HSVhsv(216, 66%, 35%)
CMYKcmyk(65.6%, 38.9%, 0%, 64.7%)
CIE-LABlab(22.87, 3.08, -23.82)
CIE-LCHlch(22.87, 24.01, 277.37°)
OKLaboklab(33.58% -0.0146 -0.0675)
OKLCHoklch(33.58% 0.069 257.8)
XYZxyz(3.7761, 3.7615, 10.1979)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F375A #5A421F
analogous
#1F545A #1F375A #241F5A
triadic
#1F375A #5A1F37 #375A1F
tetradic
#1F375A #5A1F54 #5A421F #1F5A24
square
#1F375A #5A1F54 #5A421F #1F5A24
split-complementary
#1F375A #5A241F #545A1F
monochromatic
#080E17 #0F1B2C #1F375A #2F5388 #3E6FB5

Accessibility & contrast

On white

11.98
#1F375A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1F375A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F375A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F375A#FFFFFF#000000##FFFFFF
##1F375A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5B
Deuteranopia (green-blind)
#203459
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f375a;
/* rgb */ color: rgb(31, 55, 90);
/* oklch */ color: oklch(33.6% 0.069 257.8);
Tailwind
colors: {
  custom: {
    50: '#616d89',
    500: '#1f375a',
    950: '#000000',
  },
}
SCSS
$custom: #1f375a;
$custom-light: #616d89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f375a",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 90
  },
  "hsl": {
    "h": 215.593,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33583,
    "c": 0.06905,
    "h": 257.8
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#1F375A
secondary
#8F7146
accent
#A14FD8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1F375A

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

Preview Lab → · Contrast checker → · Palette generator →

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