#1F559F#1F559F

#1F559F is a mid, vivid cyan. Relative luminance 0.093; OKLCH L 45.6% C 0.133 H 257.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#1F559F
RGBrgb(31, 85, 159)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 81%, 62%)
CMYKcmyk(80.5%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.54, 10.13, -45.18)
CIE-LCHlch(36.54, 46.30, 282.64°)
OKLaboklab(45.59% -0.0289 -0.1297)
OKLCHoklch(45.59% 0.133 257.4)
XYZxyz(10.0693, 9.2903, 34.0567)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F559F #9F691F
analogous
#1F959F #1F559F #291F9F
triadic
#1F559F #9F1F55 #559F1F
tetradic
#1F559F #9F1F95 #9F691F #1F9F29
square
#1F559F #9F1F95 #9F691F #1F9F29
split-complementary
#1F559F #9F291F #959F1F
monochromatic
#0B1E39 #153A6C #1F559F #2970D2 #5A92DF

Accessibility & contrast

On white

7.35
#1F559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1F559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F559F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F559F#FFFFFF#000000##FFFFFF
##1F559F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#0D519E
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f559f;
/* rgb */ color: rgb(31, 85, 159);
/* oklch */ color: oklch(45.6% 0.133 257.4);
Tailwind
colors: {
  custom: {
    50: '#7084bc',
    500: '#1f559f',
    950: '#000000',
  },
}
SCSS
$custom: #1f559f;
$custom-light: #7084bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f559f",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 214.688,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.13286,
    "h": 257.4
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#1F559F
secondary
#C39557
accent
#A13EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F559F

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

Preview Lab → · Contrast checker → · Palette generator →

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