#1F497C#1F497C

#1F497C is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.098 H 254.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1F497C
RGBrgb(31, 73, 124)
HSLhsl(213, 60%, 30%)
HSVhsv(213, 75%, 49%)
CMYKcmyk(75%, 41.1%, 0%, 51.4%)
CIE-LABlab(30.67, 4.20, -33.18)
CIE-LCHlch(30.67, 33.45, 277.22°)
OKLaboklab(40.32% -0.0255 -0.0946)
OKLCHoklch(40.32% 0.098 254.9)
XYZxyz(6.5844, 6.5109, 19.9746)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F497C #7C521F
analogous
#1F777C #1F497C #231F7C
triadic
#1F497C #7C1F49 #497C1F
tetradic
#1F497C #7C1F77 #7C521F #1F7C23
square
#1F497C #7C1F77 #7C521F #1F7C23
split-complementary
#1F497C #7C231F #777C1F
monochromatic
#070F1A #132C4B #1F497C #2B66AD #4584D0

Accessibility & contrast

On white

9.12
#1F497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F497C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F497C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F497C#FFFFFF#000000##FFFFFF
##1F497C1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f497c;
/* rgb */ color: rgb(31, 73, 124);
/* oklch */ color: oklch(40.3% 0.098 254.9);
Tailwind
colors: {
  custom: {
    50: '#687ba2',
    500: '#1f497c',
    950: '#000000',
  },
}
SCSS
$custom: #1f497c;
$custom-light: #687ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f497c",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 212.903,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.09802,
    "h": 254.9
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#1F497C
secondary
#AF8048
accent
#9C45E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F497C

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

Preview Lab → · Contrast checker → · Palette generator →

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