#1F5499#1F5499

#1F5499 is a dark, vivid cyan. Relative luminance 0.089; OKLCH L 44.9% C 0.126 H 256.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#1F5499
RGBrgb(31, 84, 153)
HSLhsl(214, 66%, 36%)
HSVhsv(214, 80%, 60%)
CMYKcmyk(79.7%, 45.1%, 0%, 40%)
CIE-LABlab(35.85, 8.41, -42.67)
CIE-LCHlch(35.85, 43.50, 281.15°)
OKLaboklab(44.93% -0.0292 -0.1223)
OKLCHoklch(44.93% 0.126 256.6)
XYZxyz(9.4830, 8.9307, 31.3548)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5499 #99641F
analogous
#1F9199 #1F5499 #271F99
triadic
#1F5499 #991F54 #54991F
tetradic
#1F5499 #991F91 #99641F #1F9927
square
#1F5499 #991F91 #99641F #1F9927
split-complementary
#1F5499 #99271F #91991F
monochromatic
#0A1C33 #153866 #1F5499 #2970CC #5690DD

Accessibility & contrast

On white

7.54
#1F5499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1F5499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5499
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5499#FFFFFF#000000##FFFFFF
##1F54991.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9C
Deuteranopia (green-blind)
#174F98
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5499;
/* rgb */ color: rgb(31, 84, 153);
/* oklch */ color: oklch(44.9% 0.126 256.6);
Tailwind
colors: {
  custom: {
    50: '#6e83b7',
    500: '#1f5499',
    950: '#000000',
  },
}
SCSS
$custom: #1f5499;
$custom-light: #6e83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5499",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 213.934,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4493,
    "c": 0.12577,
    "h": 256.6
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#1F5499
secondary
#C09154
accent
#9F3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5499

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

Preview Lab → · Contrast checker → · Palette generator →

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