#1F4D63#1F4D63

#1F4D63 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 39.9% C 0.062 H 232.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1F4D63
RGBrgb(31, 77, 99)
HSLhsl(199, 52%, 25%)
HSVhsv(199, 69%, 39%)
CMYKcmyk(68.7%, 22.2%, 0%, 61.2%)
CIE-LABlab(30.64, -7.98, -17.48)
CIE-LCHlch(30.64, 19.22, 245.45°)
OKLaboklab(39.86% -0.0382 -0.0489)
OKLCHoklch(39.86% 0.062 232)
XYZxyz(5.4702, 6.4993, 12.7682)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D63 #63351F
analogous
#1F6357 #1F4D63 #1F2B63
triadic
#1F4D63 #631F4D #4D631F
tetradic
#1F4D63 #571F63 #63351F #2B631F
square
#1F4D63 #571F63 #63351F #2B631F
split-complementary
#1F4D63 #631F2B #63571F
monochromatic
#071217 #102934 #1F4D63 #2E7192 #3C95C0

Accessibility & contrast

On white

9.13
#1F4D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F4D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D63
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D63#FFFFFF#000000##FFFFFF
##1F4D631.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C64
Deuteranopia (green-blind)
#394563
Tritanopia (blue-blind)
#005354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4d63;
/* rgb */ color: rgb(31, 77, 99);
/* oklch */ color: oklch(39.9% 0.062 232.0);
Tailwind
colors: {
  custom: {
    50: '#637e8f',
    500: '#1f4d63',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d63;
$custom-light: #637e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d63",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 99
  },
  "hsl": {
    "h": 199.412,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.06208,
    "h": 232
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#1F4D63
secondary
#986146
accent
#7B4CDC
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F4D63

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

Preview Lab → · Contrast checker → · Palette generator →

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