#1F497E#1F497E

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

Color values

HEX#1F497E
RGBrgb(31, 73, 126)
HSLhsl(213, 61%, 31%)
HSVhsv(213, 75%, 49%)
CMYKcmyk(75.4%, 42.1%, 0%, 50.6%)
CIE-LABlab(30.79, 5.00, -34.23)
CIE-LCHlch(30.79, 34.60, 278.30°)
OKLaboklab(40.45% -0.025 -0.0977)
OKLCHoklch(40.45% 0.101 255.6)
XYZxyz(6.7121, 6.5620, 20.6475)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F497E #7E541F
analogous
#1F787E #1F497E #241F7E
triadic
#1F497E #7E1F49 #497E1F
tetradic
#1F497E #7E1F78 #7E541F #1F7E24
square
#1F497E #7E1F78 #7E541F #1F7E24
split-complementary
#1F497E #7E241F #787E1F
monochromatic
#07101C #132D4D #1F497E #2B65AF #4684D1

Accessibility & contrast

On white

9.08
#1F497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F497E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F497E#FFFFFF#000000##FFFFFF
##1F497E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f497e;
/* rgb */ color: rgb(31, 73, 126);
/* oklch */ color: oklch(40.5% 0.101 255.6);
Tailwind
colors: {
  custom: {
    50: '#687ba4',
    500: '#1f497e',
    950: '#000000',
  },
}
SCSS
$custom: #1f497e;
$custom-light: #687ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f497e",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 213.474,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.10089,
    "h": 255.6
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#1F497E
secondary
#B18348
accent
#9D44E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F497E

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

Preview Lab → · Contrast checker → · Palette generator →

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