#1F384A#1F384A

#1F384A is a dark, muted cyan. Relative luminance 0.036; OKLCH L 32.9% C 0.045 H 241.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1F384A
RGBrgb(31, 56, 74)
HSLhsl(205, 41%, 21%)
HSVhsv(205, 58%, 29%)
CMYKcmyk(58.1%, 24.3%, 0%, 71%)
CIE-LABlab(22.35, -3.61, -14.02)
CIE-LCHlch(22.35, 14.47, 255.57°)
OKLaboklab(32.9% -0.0215 -0.0391)
OKLCHoklch(32.9% 0.045 241.2)
XYZxyz(3.2148, 3.6138, 7.0054)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F384A #4A311F
analogous
#1F4A46 #1F384A #1F224A
triadic
#1F384A #4A1F38 #384A1F
tetradic
#1F384A #461F4A #4A311F #224A1F
square
#1F384A #461F4A #4A311F #224A1F
split-complementary
#1F384A #4A1F22 #4A461F
monochromatic
#091016 #0D171F #1F384A #315975 #4379A0

Accessibility & contrast

On white

12.19
#1F384A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1F384A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F384A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F384A#FFFFFF#000000##FFFFFF
##1F384A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384B
Deuteranopia (green-blind)
#2A334A
Tritanopia (blue-blind)
#063C3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f384a;
/* rgb */ color: rgb(31, 56, 74);
/* oklch */ color: oklch(32.9% 0.045 241.2);
Tailwind
colors: {
  custom: {
    50: '#5e6e7c',
    500: '#1f384a',
    950: '#000000',
  },
}
SCSS
$custom: #1f384a;
$custom-light: #5e6e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f384a",
  "rgb": {
    "r": 31,
    "g": 56,
    "b": 74
  },
  "hsl": {
    "h": 205.116,
    "s": 40.952,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32899,
    "c": 0.04462,
    "h": 241.2
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#1F384A
secondary
#7F5E46
accent
#8A57D1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040709
muted
#797A7B

Preview Lab

Preview with #1F384A

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

Preview Lab → · Contrast checker → · Palette generator →

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