#1F4E63#1F4E63

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

Color values

HEX#1F4E63
RGBrgb(31, 78, 99)
HSLhsl(199, 52%, 25%)
HSVhsv(199, 69%, 39%)
CMYKcmyk(68.7%, 21.2%, 0%, 61.2%)
CIE-LABlab(30.97, -8.60, -16.96)
CIE-LCHlch(30.97, 19.02, 243.11°)
OKLaboklab(40.13% -0.0394 -0.0475)
OKLCHoklch(40.13% 0.062 230.3)
XYZxyz(5.5407, 6.6404, 12.7917)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E63 #63341F
analogous
#1F6356 #1F4E63 #1F2C63
triadic
#1F4E63 #631F4E #4E631F
tetradic
#1F4E63 #561F63 #63341F #2C631F
square
#1F4E63 #561F63 #63341F #2C631F
split-complementary
#1F4E63 #631F2C #63561F
monochromatic
#071217 #102934 #1F4E63 #2E7392 #3C97C0

Accessibility & contrast

On white

9.02
#1F4E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F4E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E63
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E63#FFFFFF#000000##FFFFFF
##1F4E631.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D64
Deuteranopia (green-blind)
#3A4663
Tritanopia (blue-blind)
#005455
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4e63;
/* rgb */ color: rgb(31, 78, 99);
/* oklch */ color: oklch(40.1% 0.062 230.3);
Tailwind
colors: {
  custom: {
    50: '#637f8f',
    500: '#1f4e63',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e63;
$custom-light: #637f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e63",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 99
  },
  "hsl": {
    "h": 198.529,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4013,
    "c": 0.06166,
    "h": 230.3
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#1F4E63
secondary
#985F46
accent
#784CDC
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F4E63

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

Preview Lab → · Contrast checker → · Palette generator →

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