#1F5497#1F5497

#1F5497 is a dark, vivid cyan. Relative luminance 0.089; OKLCH L 44.8% C 0.123 H 256.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#1F5497
RGBrgb(31, 84, 151)
HSLhsl(214, 66%, 36%)
HSVhsv(214, 79%, 59%)
CMYKcmyk(79.5%, 44.4%, 0%, 40.8%)
CIE-LABlab(35.72, 7.61, -41.67)
CIE-LCHlch(35.72, 42.36, 280.35°)
OKLaboklab(44.79% -0.0297 -0.1194)
OKLCHoklch(44.79% 0.123 256)
XYZxyz(9.3192, 8.8652, 30.4922)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5497 #97621F
analogous
#1F9097 #1F5497 #261F97
triadic
#1F5497 #971F54 #54971F
tetradic
#1F5497 #971F90 #97621F #1F9726
square
#1F5497 #971F90 #97621F #1F9726
split-complementary
#1F5497 #97261F #90971F
monochromatic
#0A1C31 #153864 #1F5497 #2970CA #5490DC

Accessibility & contrast

On white

7.57
#1F5497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1F5497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5497
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5497#FFFFFF#000000##FFFFFF
##1F54971.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#1B4F96
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5497;
/* rgb */ color: rgb(31, 84, 151);
/* oklch */ color: oklch(44.8% 0.123 256.0);
Tailwind
colors: {
  custom: {
    50: '#6e83b6',
    500: '#1f5497',
    950: '#000000',
  },
}
SCSS
$custom: #1f5497;
$custom-light: #6e83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5497",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 213.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.123,
    "h": 256
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#1F5497
secondary
#BF8F52
accent
#9E3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5497

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

Preview Lab → · Contrast checker → · Palette generator →

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