#1F496F#1F496F

#1F496F is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.080 H 248.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1F496F
RGBrgb(31, 73, 111)
HSLhsl(209, 56%, 28%)
HSVhsv(209, 72%, 44%)
CMYKcmyk(72.1%, 34.2%, 0%, 56.5%)
CIE-LABlab(29.92, -0.90, -26.21)
CIE-LCHlch(29.92, 26.22, 268.02°)
OKLaboklab(39.49% -0.0292 -0.0742)
OKLCHoklch(39.49% 0.08 248.5)
XYZxyz(5.8158, 6.2035, 15.9267)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F496F #6F451F
analogous
#1F6F6D #1F496F #1F216F
triadic
#1F496F #6F1F49 #496F1F
tetradic
#1F496F #6D1F6F #6F451F #216F1F
square
#1F496F #6D1F6F #6F451F #216F1F
split-complementary
#1F496F #6F1F21 #6F6D1F
monochromatic
#071018 #122A3F #1F496F #2C689F #3F88C9

Accessibility & contrast

On white

9.37
#1F496F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1F496F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F496F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F496F#FFFFFF#000000##FFFFFF
##1F496F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#2D436E
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f496f;
/* rgb */ color: rgb(31, 73, 111);
/* oklch */ color: oklch(39.5% 0.080 248.5);
Tailwind
colors: {
  custom: {
    50: '#657b98',
    500: '#1f496f',
    950: '#000000',
  },
}
SCSS
$custom: #1f496f;
$custom-light: #657b98;
$custom-dark: #000000;
JSON
{
  "hex": "#1f496f",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 111
  },
  "hsl": {
    "h": 208.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.07978,
    "h": 248.5
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#1F496F
secondary
#A37347
accent
#9048E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #1F496F

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

Preview Lab → · Contrast checker → · Palette generator →

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