#1F4963#1F4963

#1F4963 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 38.8% C 0.064 H 238.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1F4963
RGBrgb(31, 73, 99)
HSLhsl(203, 52%, 25%)
HSVhsv(203, 69%, 39%)
CMYKcmyk(68.7%, 26.3%, 0%, 61.2%)
CIE-LABlab(29.30, -5.47, -19.55)
CIE-LCHlch(29.30, 20.30, 254.36°)
OKLaboklab(38.8% -0.0334 -0.0549)
OKLCHoklch(38.8% 0.064 238.7)
XYZxyz(5.1989, 5.9567, 12.6777)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4963 #63391F
analogous
#1F635B #1F4963 #1F2763
triadic
#1F4963 #631F49 #49631F
tetradic
#1F4963 #5B1F63 #63391F #27631F
square
#1F4963 #5B1F63 #63391F #27631F
split-complementary
#1F4963 #631F27 #635B1F
monochromatic
#071117 #102734 #1F4963 #2E6B92 #3C8EC0

Accessibility & contrast

On white

9.58
#1F4963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1F4963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4963
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4963#FFFFFF#000000##FFFFFF
##1F49631.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4964
Deuteranopia (green-blind)
#344263
Tritanopia (blue-blind)
#005052
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4963;
/* rgb */ color: rgb(31, 73, 99);
/* oklch */ color: oklch(38.8% 0.064 238.7);
Tailwind
colors: {
  custom: {
    50: '#637b8f',
    500: '#1f4963',
    950: '#000000',
  },
}
SCSS
$custom: #1f4963;
$custom-light: #637b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4963",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 99
  },
  "hsl": {
    "h": 202.941,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.0643,
    "h": 238.7
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#1F4963
secondary
#986546
accent
#834CDC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06090C
muted
#7A7B7D

Preview Lab

Preview with #1F4963

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

Preview Lab → · Contrast checker → · Palette generator →

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