#1F4E67#1F4E67

#1F4E67 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.3% C 0.066 H 235.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#1F4E67
RGBrgb(31, 78, 103)
HSLhsl(201, 54%, 26%)
HSVhsv(201, 70%, 40%)
CMYKcmyk(69.9%, 24.3%, 0%, 59.6%)
CIE-LABlab(31.16, -7.14, -19.21)
CIE-LCHlch(31.16, 20.50, 249.62°)
OKLaboklab(40.34% -0.0378 -0.0539)
OKLCHoklch(40.34% 0.066 235)
XYZxyz(5.7367, 6.7188, 13.8239)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E67 #67381F
analogous
#1F675C #1F4E67 #1F2A67
triadic
#1F4E67 #671F4E #4E671F
tetradic
#1F4E67 #5C1F67 #67381F #2A671F
square
#1F4E67 #5C1F67 #67381F #2A671F
split-complementary
#1F4E67 #671F2A #675C1F
monochromatic
#071218 #112A38 #1F4E67 #2D7296 #3C95C4

Accessibility & contrast

On white

8.96
#1F4E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F4E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E67
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E67#FFFFFF#000000##FFFFFF
##1F4E671.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424D68
Deuteranopia (green-blind)
#384667
Tritanopia (blue-blind)
#005556
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4e67;
/* rgb */ color: rgb(31, 78, 103);
/* oklch */ color: oklch(40.3% 0.066 235.0);
Tailwind
colors: {
  custom: {
    50: '#647f92',
    500: '#1f4e67',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e67;
$custom-light: #647f92;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e67",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 103
  },
  "hsl": {
    "h": 200.833,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.06583,
    "h": 235
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#1F4E67
secondary
#9B6446
accent
#7E4BDD
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F4E67

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

Preview Lab → · Contrast checker → · Palette generator →

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