#1F579E#1F579E

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

Color values

HEX#1F579E
RGBrgb(31, 87, 158)
HSLhsl(214, 67%, 37%)
HSVhsv(214, 80%, 62%)
CMYKcmyk(80.4%, 44.9%, 0%, 38%)
CIE-LABlab(37.07, 8.41, -43.73)
CIE-LCHlch(37.07, 44.53, 280.89°)
OKLaboklab(45.98% -0.0308 -0.1254)
OKLCHoklch(45.98% 0.129 256.2)
XYZxyz(10.1425, 9.5751, 33.6547)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F579E #9E661F
analogous
#1F979E #1F579E #261F9E
triadic
#1F579E #9E1F57 #579E1F
tetradic
#1F579E #9E1F97 #9E661F #1F9E26
square
#1F579E #9E1F97 #9E661F #1F9E26
split-complementary
#1F579E #9E261F #979E1F
monochromatic
#0B1F38 #153B6B #1F579E #2973D1 #5994DE

Accessibility & contrast

On white

7.20
#1F579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F579E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F579E#FFFFFF#000000##FFFFFF
##1F579E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA1
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f579e;
/* rgb */ color: rgb(31, 87, 158);
/* oklch */ color: oklch(46.0% 0.129 256.2);
Tailwind
colors: {
  custom: {
    50: '#6f85bb',
    500: '#1f579e',
    950: '#000000',
  },
}
SCSS
$custom: #1f579e;
$custom-light: #6f85bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f579e",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 213.543,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.12909,
    "h": 256.2
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#1F579E
secondary
#C29356
accent
#9E3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F579E

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

Preview Lab → · Contrast checker → · Palette generator →

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