#1F5699#1F5699

#1F5699 is a mid, vivid cyan. Relative luminance 0.092; OKLCH L 45.4% C 0.123 H 255.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#1F5699
RGBrgb(31, 86, 153)
HSLhsl(213, 66%, 36%)
HSVhsv(213, 80%, 60%)
CMYKcmyk(79.7%, 43.8%, 0%, 40%)
CIE-LABlab(36.45, 7.09, -41.71)
CIE-LCHlch(36.45, 42.31, 279.65°)
OKLaboklab(45.4% -0.031 -0.1194)
OKLCHoklch(45.4% 0.123 255.5)
XYZxyz(9.6405, 9.2456, 31.4073)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5699 #99621F
analogous
#1F9399 #1F5699 #251F99
triadic
#1F5699 #991F56 #56991F
tetradic
#1F5699 #991F93 #99621F #1F9925
square
#1F5699 #991F93 #99621F #1F9925
split-complementary
#1F5699 #99251F #93991F
monochromatic
#0A1D33 #153966 #1F5699 #2973CC #5693DD

Accessibility & contrast

On white

7.37
#1F5699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F5699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5699
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5699#FFFFFF#000000##FFFFFF
##1F56991.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5699;
/* rgb */ color: rgb(31, 86, 153);
/* oklch */ color: oklch(45.4% 0.123 255.5);
Tailwind
colors: {
  custom: {
    50: '#6e85b7',
    500: '#1f5699',
    950: '#000000',
  },
}
SCSS
$custom: #1f5699;
$custom-light: #6e85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5699",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 212.951,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.12339,
    "h": 255.5
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#1F5699
secondary
#C08F54
accent
#9C3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5699

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

Preview Lab → · Contrast checker → · Palette generator →

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