#1F4E66#1F4E66

#1F4E66 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.3% C 0.065 H 233.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#1F4E66
RGBrgb(31, 78, 102)
HSLhsl(200, 53%, 26%)
HSVhsv(200, 70%, 40%)
CMYKcmyk(69.6%, 23.5%, 0%, 60%)
CIE-LABlab(31.11, -7.51, -18.65)
CIE-LCHlch(31.11, 20.11, 248.08°)
OKLaboklab(40.28% -0.0382 -0.0523)
OKLCHoklch(40.28% 0.065 233.9)
XYZxyz(5.6868, 6.6988, 13.5611)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E66 #66371F
analogous
#1F665A #1F4E66 #1F2A66
triadic
#1F4E66 #661F4E #4E661F
tetradic
#1F4E66 #5A1F66 #66371F #2A661F
square
#1F4E66 #5A1F66 #66371F #2A661F
split-complementary
#1F4E66 #661F2A #665A1F
monochromatic
#071217 #112A37 #1F4E66 #2D7295 #3C96C4

Accessibility & contrast

On white

8.98
#1F4E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F4E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E66
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E66#FFFFFF#000000##FFFFFF
##1F4E661.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424D67
Deuteranopia (green-blind)
#394666
Tritanopia (blue-blind)
#005456
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4e66;
/* rgb */ color: rgb(31, 78, 102);
/* oklch */ color: oklch(40.3% 0.065 233.9);
Tailwind
colors: {
  custom: {
    50: '#647f91',
    500: '#1f4e66',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e66;
$custom-light: #647f91;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e66",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 102
  },
  "hsl": {
    "h": 200.282,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.06475,
    "h": 233.9
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#1F4E66
secondary
#9A6346
accent
#7C4BDD
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0D
muted
#7A7C7D

Preview Lab

Preview with #1F4E66

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

Preview Lab → · Contrast checker → · Palette generator →

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