#1F497D#1F497D

#1F497D is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.099 H 255.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#1F497D
RGBrgb(31, 73, 125)
HSLhsl(213, 60%, 31%)
HSVhsv(213, 75%, 49%)
CMYKcmyk(75.2%, 41.6%, 0%, 51%)
CIE-LABlab(30.73, 4.60, -33.71)
CIE-LCHlch(30.73, 34.02, 277.77°)
OKLaboklab(40.39% -0.0253 -0.0962)
OKLCHoklch(40.39% 0.099 255.3)
XYZxyz(6.6479, 6.5363, 20.3093)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F497D #7D531F
analogous
#1F787D #1F497D #241F7D
triadic
#1F497D #7D1F49 #497D1F
tetradic
#1F497D #7D1F78 #7D531F #1F7D24
square
#1F497D #7D1F78 #7D531F #1F7D24
split-complementary
#1F497D #7D241F #787D1F
monochromatic
#07101B #132C4C #1F497D #2B66AE #4584D1

Accessibility & contrast

On white

9.10
#1F497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F497D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F497D#FFFFFF#000000##FFFFFF
##1F497D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#22447C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f497d;
/* rgb */ color: rgb(31, 73, 125);
/* oklch */ color: oklch(40.4% 0.099 255.3);
Tailwind
colors: {
  custom: {
    50: '#687ba3',
    500: '#1f497d',
    950: '#000000',
  },
}
SCSS
$custom: #1f497d;
$custom-light: #687ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f497d",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 213.191,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.09946,
    "h": 255.3
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#1F497D
secondary
#B08148
accent
#9C44E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F497D

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

Preview Lab → · Contrast checker → · Palette generator →

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