#1F377B#1F377B

#1F377B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.120 H 265.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#1F377B
RGBrgb(31, 55, 123)
HSLhsl(224, 60%, 30%)
HSVhsv(224, 75%, 48%)
CMYKcmyk(74.8%, 55.3%, 0%, 51.8%)
CIE-LABlab(25.12, 16.23, -41.47)
CIE-LCHlch(25.12, 44.53, 291.38°)
OKLaboklab(36.03% -0.0085 -0.1193)
OKLCHoklch(36.03% 0.12 265.9)
XYZxyz(5.5052, 4.4532, 19.3045)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F377B #7B631F
analogous
#1F657B #1F377B #351F7B
triadic
#1F377B #7B1F37 #377B1F
tetradic
#1F377B #7B1F65 #7B631F #1F7B35
square
#1F377B #7B1F65 #7B631F #1F7B35
split-complementary
#1F377B #7B351F #657B1F
monochromatic
#060B19 #13214A #1F377B #2B4DAC #4469D0

Accessibility & contrast

On white

11.11
#1F377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F377B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F377B#FFFFFF#000000##FFFFFF
##1F377B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f377b;
/* rgb */ color: rgb(31, 55, 123);
/* oklch */ color: oklch(36.0% 0.120 265.9);
Tailwind
colors: {
  custom: {
    50: '#686da2',
    500: '#1f377b',
    950: '#000000',
  },
}
SCSS
$custom: #1f377b;
$custom-light: #686da2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f377b",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 224.348,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36033,
    "c": 0.11963,
    "h": 265.9
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#1F377B
secondary
#AE9348
accent
#BA45E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1F377B

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

Preview Lab → · Contrast checker → · Palette generator →

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