#1F4E68#1F4E68

#1F4E68 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.4% C 0.067 H 236.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#1F4E68
RGBrgb(31, 78, 104)
HSLhsl(201, 54%, 26%)
HSVhsv(201, 70%, 41%)
CMYKcmyk(70.2%, 25%, 0%, 59.2%)
CIE-LABlab(31.21, -6.77, -19.77)
CIE-LCHlch(31.21, 20.90, 251.11°)
OKLaboklab(40.39% -0.0374 -0.0555)
OKLCHoklch(40.39% 0.067 236.1)
XYZxyz(5.7872, 6.7390, 14.0898)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E68 #68391F
analogous
#1F685E #1F4E68 #1F2A68
triadic
#1F4E68 #681F4E #4E681F
tetradic
#1F4E68 #5E1F68 #68391F #2A681F
square
#1F4E68 #5E1F68 #68391F #2A681F
split-complementary
#1F4E68 #681F2A #685E1F
monochromatic
#071218 #112B39 #1F4E68 #2D7197 #3C94C5

Accessibility & contrast

On white

8.94
#1F4E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1F4E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E68
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E68#FFFFFF#000000##FFFFFF
##1F4E681.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424E69
Deuteranopia (green-blind)
#384668
Tritanopia (blue-blind)
#005557
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4e68;
/* rgb */ color: rgb(31, 78, 104);
/* oklch */ color: oklch(40.4% 0.067 236.1);
Tailwind
colors: {
  custom: {
    50: '#647f93',
    500: '#1f4e68',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e68;
$custom-light: #647f93;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e68",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 104
  },
  "hsl": {
    "h": 201.37,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.06694,
    "h": 236.1
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#1F4E68
secondary
#9C6546
accent
#7F4ADD
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F4E68

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

Preview Lab → · Contrast checker → · Palette generator →

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