#1F497F#1F497F

#1F497F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.102 H 256.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1F497F
RGBrgb(31, 73, 127)
HSLhsl(214, 61%, 31%)
HSVhsv(214, 76%, 50%)
CMYKcmyk(75.6%, 42.5%, 0%, 50.2%)
CIE-LABlab(30.85, 5.39, -34.76)
CIE-LCHlch(30.85, 35.17, 278.82°)
OKLaboklab(40.52% -0.0248 -0.0993)
OKLCHoklch(40.52% 0.102 256)
XYZxyz(6.7770, 6.5880, 20.9890)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F497F #7F551F
analogous
#1F797F #1F497F #251F7F
triadic
#1F497F #7F1F49 #497F1F
tetradic
#1F497F #7F1F79 #7F551F #1F7F25
square
#1F497F #7F1F79 #7F551F #1F7F25
split-complementary
#1F497F #7F251F #797F1F
monochromatic
#07101D #132D4E #1F497F #2B65B0 #4683D2

Accessibility & contrast

On white

9.06
#1F497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1F497F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F497F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F497F#FFFFFF#000000##FFFFFF
##1F497F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#1F457E
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f497f;
/* rgb */ color: rgb(31, 73, 127);
/* oklch */ color: oklch(40.5% 0.102 256.0);
Tailwind
colors: {
  custom: {
    50: '#687ba4',
    500: '#1f497f',
    950: '#000000',
  },
}
SCSS
$custom: #1f497f;
$custom-light: #687ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f497f",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 213.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40522,
    "c": 0.10232,
    "h": 256
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#1F497F
secondary
#B28448
accent
#9E44E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F497F

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

Preview Lab → · Contrast checker → · Palette generator →

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