#1F375C#1F375C

#1F375C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.7% C 0.072 H 258.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1F375C
RGBrgb(31, 55, 92)
HSLhsl(216, 50%, 24%)
HSVhsv(216, 66%, 36%)
CMYKcmyk(66.3%, 40.2%, 0%, 63.9%)
CIE-LABlab(22.99, 3.86, -24.94)
CIE-LCHlch(22.99, 25.24, 278.80°)
OKLaboklab(33.71% -0.014 -0.0708)
OKLCHoklch(33.71% 0.072 258.8)
XYZxyz(3.8623, 3.7960, 10.6523)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F375C #5C441F
analogous
#1F565C #1F375C #261F5C
triadic
#1F375C #5C1F37 #375C1F
tetradic
#1F375C #5C1F56 #5C441F #1F5C26
square
#1F375C #5C1F56 #5C441F #1F5C26
split-complementary
#1F375C #5C261F #565C1F
monochromatic
#080E17 #101C2E #1F375C #2E528A #3E6EB8

Accessibility & contrast

On white

11.94
#1F375C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F375C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F375C#FFFFFF#000000##FFFFFF
##1F375C1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#1F345B
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f375c;
/* rgb */ color: rgb(31, 55, 92);
/* oklch */ color: oklch(33.7% 0.072 258.8);
Tailwind
colors: {
  custom: {
    50: '#616d8a',
    500: '#1f375c',
    950: '#000000',
  },
}
SCSS
$custom: #1f375c;
$custom-light: #616d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f375c",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 92
  },
  "hsl": {
    "h": 216.393,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33714,
    "c": 0.07215,
    "h": 258.8
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#1F375C
secondary
#917346
accent
#A34FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #1F375C

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

Preview Lab → · Contrast checker → · Palette generator →

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