#1F579A#1F579A

#1F579A is a mid, vivid cyan. Relative luminance 0.094; OKLCH L 45.7% C 0.124 H 255.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#1F579A
RGBrgb(31, 87, 154)
HSLhsl(213, 66%, 36%)
HSVhsv(213, 80%, 60%)
CMYKcmyk(79.9%, 43.5%, 0%, 39.6%)
CIE-LABlab(36.82, 6.83, -41.73)
CIE-LCHlch(36.82, 42.28, 279.29°)
OKLaboklab(45.7% -0.0316 -0.1195)
OKLCHoklch(45.7% 0.124 255.2)
XYZxyz(9.8038, 9.4396, 31.8709)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F579A #9A621F
analogous
#1F959A #1F579A #251F9A
triadic
#1F579A #9A1F57 #579A1F
tetradic
#1F579A #9A1F95 #9A621F #1F9A25
square
#1F579A #9A1F95 #9A621F #1F9A25
split-complementary
#1F579A #9A251F #959A1F
monochromatic
#0A1D34 #153A67 #1F579A #2974CD #5694DD

Accessibility & contrast

On white

7.27
#1F579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F579A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F579A#FFFFFF#000000##FFFFFF
##1F579A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9D
Deuteranopia (green-blind)
#1F5199
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f579a;
/* rgb */ color: rgb(31, 87, 154);
/* oklch */ color: oklch(45.7% 0.124 255.2);
Tailwind
colors: {
  custom: {
    50: '#6e85b8',
    500: '#1f579a',
    950: '#000000',
  },
}
SCSS
$custom: #1f579a;
$custom-light: #6e85b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f579a",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 212.683,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.457,
    "c": 0.1236,
    "h": 255.2
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#1F579A
secondary
#C18F54
accent
#9C3EE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F579A

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

Preview Lab → · Contrast checker → · Palette generator →

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