#1F377A#1F377A

#1F377A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.118 H 265.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#1F377A
RGBrgb(31, 55, 122)
HSLhsl(224, 59%, 30%)
HSVhsv(224, 75%, 48%)
CMYKcmyk(74.6%, 54.9%, 0%, 52.2%)
CIE-LABlab(25.04, 15.83, -40.96)
CIE-LCHlch(25.04, 43.91, 291.13°)
OKLaboklab(35.95% -0.0086 -0.1178)
OKLCHoklch(35.95% 0.118 265.8)
XYZxyz(5.4429, 4.4283, 18.9765)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F377A #7A621F
analogous
#1F647A #1F377A #351F7A
triadic
#1F377A #7A1F37 #377A1F
tetradic
#1F377A #7A1F64 #7A621F #1F7A35
square
#1F377A #7A1F64 #7A621F #1F7A35
split-complementary
#1F377A #7A351F #647A1F
monochromatic
#060B18 #132149 #1F377A #2B4DAB #4469CF

Accessibility & contrast

On white

11.14
#1F377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F377A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F377A#FFFFFF#000000##FFFFFF
##1F377A1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f377a;
/* rgb */ color: rgb(31, 55, 122);
/* oklch */ color: oklch(35.9% 0.118 265.8);
Tailwind
colors: {
  custom: {
    50: '#686da1',
    500: '#1f377a',
    950: '#000000',
  },
}
SCSS
$custom: #1f377a;
$custom-light: #686da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f377a",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 224.176,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.11816,
    "h": 265.8
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#1F377A
secondary
#AD9247
accent
#B945E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1F377A

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

Preview Lab → · Contrast checker → · Palette generator →

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