#1F4166#1F4166

#1F4166 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.075 H 252.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#1F4166
RGBrgb(31, 65, 102)
HSLhsl(211, 53%, 26%)
HSVhsv(211, 70%, 40%)
CMYKcmyk(69.6%, 36.3%, 0%, 60%)
CIE-LABlab(26.82, 0.91, -25.36)
CIE-LCHlch(26.82, 25.38, 272.06°)
OKLaboklab(36.9% -0.023 -0.0719)
OKLCHoklch(36.9% 0.075 252.3)
XYZxyz(4.8528, 5.0307, 13.2831)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4166 #66441F
analogous
#1F6466 #1F4166 #211F66
triadic
#1F4166 #661F41 #41661F
tetradic
#1F4166 #661F64 #66441F #1F6621
square
#1F4166 #661F64 #66441F #1F6621
split-complementary
#1F4166 #66211F #64661F
monochromatic
#070F17 #112337 #1F4166 #2D5F95 #3C7DC4

Accessibility & contrast

On white

10.47
#1F4166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1F4166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4166
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4166#FFFFFF#000000##FFFFFF
##1F41661.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314368
Deuteranopia (green-blind)
#273C65
Tritanopia (blue-blind)
#004A4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f4166;
/* rgb */ color: rgb(31, 65, 102);
/* oklch */ color: oklch(36.9% 0.075 252.3);
Tailwind
colors: {
  custom: {
    50: '#637592',
    500: '#1f4166',
    950: '#000000',
  },
}
SCSS
$custom: #1f4166;
$custom-light: #637592;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4166",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 211.268,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.07546,
    "h": 252.3
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#1F4166
secondary
#9A7246
accent
#974BDD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080D
muted
#7A7B7D

Preview Lab

Preview with #1F4166

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

Preview Lab → · Contrast checker → · Palette generator →

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