#1F375E#1F375E

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

Color values

HEX#1F375E
RGBrgb(31, 55, 94)
HSLhsl(217, 50%, 25%)
HSVhsv(217, 67%, 37%)
CMYKcmyk(67%, 41.5%, 0%, 63.1%)
CIE-LABlab(23.11, 4.64, -26.06)
CIE-LCHlch(23.11, 26.47, 280.10°)
OKLaboklab(33.85% -0.0135 -0.074)
OKLCHoklch(33.85% 0.075 259.7)
XYZxyz(3.9509, 3.8315, 11.1188)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F375E #5E461F
analogous
#1F575E #1F375E #271F5E
triadic
#1F375E #5E1F37 #375E1F
tetradic
#1F375E #5E1F57 #5E461F #1F5E27
square
#1F375E #5E1F57 #5E461F #1F5E27
split-complementary
#1F375E #5E271F #575E1F
monochromatic
#080D17 #101C30 #1F375E #2E528C #3D6DBA

Accessibility & contrast

On white

11.89
#1F375E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1F375E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F375E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F375E#FFFFFF#000000##FFFFFF
##1F375E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#1D345D
Tritanopia (blue-blind)
#004046
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f375e;
/* rgb */ color: rgb(31, 55, 94);
/* oklch */ color: oklch(33.8% 0.075 259.7);
Tailwind
colors: {
  custom: {
    50: '#626d8c',
    500: '#1f375e',
    950: '#000000',
  },
}
SCSS
$custom: #1f375e;
$custom-light: #626d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f375e",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 94
  },
  "hsl": {
    "h": 217.143,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33847,
    "c": 0.07526,
    "h": 259.7
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#1F375E
secondary
#937646
accent
#A54EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #1F375E

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

Preview Lab → · Contrast checker → · Palette generator →

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