#1F4366#1F4366

#1F4366 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.4% C 0.073 H 249.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#1F4366
RGBrgb(31, 67, 102)
HSLhsl(210, 53%, 26%)
HSVhsv(210, 70%, 40%)
CMYKcmyk(69.6%, 34.3%, 0%, 60%)
CIE-LABlab(27.48, -0.43, -24.33)
CIE-LCHlch(27.48, 24.34, 269.00°)
OKLaboklab(37.41% -0.0253 -0.0688)
OKLCHoklch(37.41% 0.073 249.8)
XYZxyz(4.9696, 5.2644, 13.3220)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4366 #66421F
analogous
#1F6665 #1F4366 #1F2066
triadic
#1F4366 #661F43 #43661F
tetradic
#1F4366 #651F66 #66421F #20661F
square
#1F4366 #651F66 #66421F #20661F
split-complementary
#1F4366 #661F20 #66651F
monochromatic
#070F17 #112437 #1F4366 #2D6295 #3C81C4

Accessibility & contrast

On white

10.23
#1F4366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1F4366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4366
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4366#FFFFFF#000000##FFFFFF
##1F43661.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344567
Deuteranopia (green-blind)
#2A3E65
Tritanopia (blue-blind)
#004B50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f4366;
/* rgb */ color: rgb(31, 67, 102);
/* oklch */ color: oklch(37.4% 0.073 249.8);
Tailwind
colors: {
  custom: {
    50: '#637692',
    500: '#1f4366',
    950: '#000000',
  },
}
SCSS
$custom: #1f4366;
$custom-light: #637692;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4366",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 209.577,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3741,
    "c": 0.07335,
    "h": 249.8
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#1F4366
secondary
#9A7046
accent
#934BDD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080D
muted
#7A7B7D

Preview Lab

Preview with #1F4366

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

Preview Lab → · Contrast checker → · Palette generator →

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