#1F375D#1F375D

#1F375D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.8% C 0.074 H 259.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1F375D
RGBrgb(31, 55, 93)
HSLhsl(217, 50%, 24%)
HSVhsv(217, 67%, 36%)
CMYKcmyk(66.7%, 40.9%, 0%, 63.5%)
CIE-LABlab(23.05, 4.25, -25.50)
CIE-LCHlch(23.05, 25.85, 279.46°)
OKLaboklab(33.78% -0.0138 -0.0724)
OKLCHoklch(33.78% 0.074 259.2)
XYZxyz(3.9063, 3.8136, 10.8840)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F375D #5D451F
analogous
#1F565D #1F375D #261F5D
triadic
#1F375D #5D1F37 #375D1F
tetradic
#1F375D #5D1F56 #5D451F #1F5D26
square
#1F375D #5D1F56 #5D451F #1F5D26
split-complementary
#1F375D #5D261F #565D1F
monochromatic
#080E17 #101C2F #1F375D #2E528B #3E6DB9

Accessibility & contrast

On white

11.91
#1F375D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F375D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F375D#FFFFFF#000000##FFFFFF
##1F375D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5F
Deuteranopia (green-blind)
#1E345C
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f375d;
/* rgb */ color: rgb(31, 55, 93);
/* oklch */ color: oklch(33.8% 0.074 259.2);
Tailwind
colors: {
  custom: {
    50: '#616d8b',
    500: '#1f375d',
    950: '#000000',
  },
}
SCSS
$custom: #1f375d;
$custom-light: #616d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f375d",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 93
  },
  "hsl": {
    "h": 216.774,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3378,
    "c": 0.07371,
    "h": 259.2
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#1F375D
secondary
#927446
accent
#A44EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #1F375D

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

Preview Lab → · Contrast checker → · Palette generator →

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