#1F4E61#1F4E61

#1F4E61 is a dark, muted cyan. Relative luminance 0.066; OKLCH L 40.0% C 0.060 H 227.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#1F4E61
RGBrgb(31, 78, 97)
HSLhsl(197, 52%, 25%)
HSVhsv(197, 68%, 38%)
CMYKcmyk(68%, 19.6%, 0%, 62%)
CIE-LABlab(30.88, -9.33, -15.83)
CIE-LCHlch(30.88, 18.37, 239.50°)
OKLaboklab(40.03% -0.0402 -0.0442)
OKLCHoklch(40.03% 0.06 227.7)
XYZxyz(5.4463, 6.6026, 12.2943)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E61 #61321F
analogous
#1F6153 #1F4E61 #1F2D61
triadic
#1F4E61 #611F4E #4E611F
tetradic
#1F4E61 #531F61 #61321F #2D611F
square
#1F4E61 #531F61 #61321F #2D611F
split-complementary
#1F4E61 #611F2D #61531F
monochromatic
#071317 #102933 #1F4E61 #2E738F #3D99BE

Accessibility & contrast

On white

9.05
#1F4E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1F4E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E61
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E61#FFFFFF#000000##FFFFFF
##1F4E611.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D62
Deuteranopia (green-blind)
#3B4661
Tritanopia (blue-blind)
#005354
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4e61;
/* rgb */ color: rgb(31, 78, 97);
/* oklch */ color: oklch(40.0% 0.060 227.7);
Tailwind
colors: {
  custom: {
    50: '#637f8e',
    500: '#1f4e61',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e61;
$custom-light: #637f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e61",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 97
  },
  "hsl": {
    "h": 197.273,
    "s": 51.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.05977,
    "h": 227.7
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#1F4E61
secondary
#965D46
accent
#764DDB
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F4E61

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

Preview Lab → · Contrast checker → · Palette generator →

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