#1F4E62#1F4E62

#1F4E62 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.1% C 0.061 H 229.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1F4E62
RGBrgb(31, 78, 98)
HSLhsl(198, 52%, 25%)
HSVhsv(198, 68%, 38%)
CMYKcmyk(68.4%, 20.4%, 0%, 61.6%)
CIE-LABlab(30.93, -8.97, -16.40)
CIE-LCHlch(30.93, 18.69, 241.33°)
OKLaboklab(40.08% -0.0398 -0.0458)
OKLCHoklch(40.08% 0.061 229)
XYZxyz(5.4932, 6.6214, 12.5415)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E62 #62331F
analogous
#1F6254 #1F4E62 #1F2D62
triadic
#1F4E62 #621F4E #4E621F
tetradic
#1F4E62 #541F62 #62331F #2D621F
square
#1F4E62 #541F62 #62331F #2D621F
split-complementary
#1F4E62 #621F2D #62541F
monochromatic
#071317 #102934 #1F4E62 #2E7390 #3C98BF

Accessibility & contrast

On white

9.03
#1F4E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E62
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E62#FFFFFF#000000##FFFFFF
##1F4E621.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D63
Deuteranopia (green-blind)
#3A4662
Tritanopia (blue-blind)
#005455
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4e62;
/* rgb */ color: rgb(31, 78, 98);
/* oklch */ color: oklch(40.1% 0.061 229.0);
Tailwind
colors: {
  custom: {
    50: '#637f8e',
    500: '#1f4e62',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e62;
$custom-light: #637f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e62",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 98
  },
  "hsl": {
    "h": 197.91,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.06069,
    "h": 229
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#1F4E62
secondary
#975E46
accent
#774CDB
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F4E62

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

Preview Lab → · Contrast checker → · Palette generator →

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