#1F375B#1F375B

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

Color values

HEX#1F375B
RGBrgb(31, 55, 91)
HSLhsl(216, 49%, 24%)
HSVhsv(216, 66%, 36%)
CMYKcmyk(65.9%, 39.6%, 0%, 64.3%)
CIE-LABlab(22.93, 3.47, -24.38)
CIE-LCHlch(22.93, 24.62, 278.10°)
OKLaboklab(33.65% -0.0143 -0.0691)
OKLCHoklch(33.65% 0.071 258.3)
XYZxyz(3.8189, 3.7787, 10.4236)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F375B #5B431F
analogous
#1F555B #1F375B #251F5B
triadic
#1F375B #5B1F37 #375B1F
tetradic
#1F375B #5B1F55 #5B431F #1F5B25
square
#1F375B #5B1F55 #5B431F #1F5B25
split-complementary
#1F375B #5B251F #555B1F
monochromatic
#080E17 #0F1B2D #1F375B #2F5389 #3E6EB6

Accessibility & contrast

On white

11.96
#1F375B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1F375B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F375B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F375B#FFFFFF#000000##FFFFFF
##1F375B1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#1F345A
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f375b;
/* rgb */ color: rgb(31, 55, 91);
/* oklch */ color: oklch(33.6% 0.071 258.3);
Tailwind
colors: {
  custom: {
    50: '#616d89',
    500: '#1f375b',
    950: '#000000',
  },
}
SCSS
$custom: #1f375b;
$custom-light: #616d89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f375b",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 91
  },
  "hsl": {
    "h": 216,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33648,
    "c": 0.0706,
    "h": 258.3
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#1F375B
secondary
#907246
accent
#A24FD9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1F375B

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

Preview Lab → · Contrast checker → · Palette generator →

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