#1F579C#1F579C

#1F579C is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.126 H 255.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#1F579C
RGBrgb(31, 87, 156)
HSLhsl(213, 67%, 37%)
HSVhsv(213, 80%, 61%)
CMYKcmyk(80.1%, 44.2%, 0%, 38.8%)
CIE-LABlab(36.94, 7.62, -42.73)
CIE-LCHlch(36.94, 43.40, 280.11°)
OKLaboklab(45.84% -0.0312 -0.1224)
OKLCHoklch(45.84% 0.126 255.7)
XYZxyz(9.9718, 9.5068, 32.7555)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F579C #9C641F
analogous
#1F969C #1F579C #261F9C
triadic
#1F579C #9C1F57 #579C1F
tetradic
#1F579C #9C1F96 #9C641F #1F9C26
square
#1F579C #9C1F96 #9C641F #1F9C26
split-complementary
#1F579C #9C261F #969C1F
monochromatic
#0B1E36 #153B69 #1F579C #2973CF #5894DE

Accessibility & contrast

On white

7.24
#1F579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1F579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F579C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F579C#FFFFFF#000000##FFFFFF
##1F579C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f579c;
/* rgb */ color: rgb(31, 87, 156);
/* oklch */ color: oklch(45.8% 0.126 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f85ba',
    500: '#1f579c',
    950: '#000000',
  },
}
SCSS
$custom: #1f579c;
$custom-light: #6f85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f579c",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 213.12,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.12635,
    "h": 255.7
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#1F579C
secondary
#C19155
accent
#9D3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F579C

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

Preview Lab → · Contrast checker → · Palette generator →

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