#1F579F#1F579F

#1F579F is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.130 H 256.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#1F579F
RGBrgb(31, 87, 159)
HSLhsl(214, 67%, 37%)
HSVhsv(214, 81%, 62%)
CMYKcmyk(80.5%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.13, 8.81, -44.22)
CIE-LCHlch(37.13, 45.09, 281.27°)
OKLaboklab(46.05% -0.0306 -0.1268)
OKLCHoklch(46.05% 0.13 256.4)
XYZxyz(10.2290, 9.6097, 34.1099)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F579F #9F671F
analogous
#1F979F #1F579F #271F9F
triadic
#1F579F #9F1F57 #579F1F
tetradic
#1F579F #9F1F97 #9F671F #1F9F27
square
#1F579F #9F1F97 #9F671F #1F9F27
split-complementary
#1F579F #9F271F #979F1F
monochromatic
#0B1F39 #153B6C #1F579F #2973D2 #5A94DF

Accessibility & contrast

On white

7.19
#1F579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1F579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F579F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F579F#FFFFFF#000000##FFFFFF
##1F579F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#16529E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f579f;
/* rgb */ color: rgb(31, 87, 159);
/* oklch */ color: oklch(46.0% 0.130 256.4);
Tailwind
colors: {
  custom: {
    50: '#7085bc',
    500: '#1f579f',
    950: '#000000',
  },
}
SCSS
$custom: #1f579f;
$custom-light: #7085bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f579f",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 213.75,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.13046,
    "h": 256.4
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#1F579F
secondary
#C39457
accent
#9F3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F579F

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

Preview Lab → · Contrast checker → · Palette generator →

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