#1F579B#1F579B

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

Color values

HEX#1F579B
RGBrgb(31, 87, 155)
HSLhsl(213, 67%, 36%)
HSVhsv(213, 80%, 61%)
CMYKcmyk(80%, 43.9%, 0%, 39.2%)
CIE-LABlab(36.88, 7.22, -42.23)
CIE-LCHlch(36.88, 42.84, 279.71°)
OKLaboklab(45.77% -0.0314 -0.1209)
OKLCHoklch(45.77% 0.125 255.4)
XYZxyz(9.8875, 9.4731, 32.3114)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F579B #9B631F
analogous
#1F959B #1F579B #251F9B
triadic
#1F579B #9B1F57 #579B1F
tetradic
#1F579B #9B1F95 #9B631F #1F9B25
square
#1F579B #9B1F95 #9B631F #1F9B25
split-complementary
#1F579B #9B251F #959B1F
monochromatic
#0B1E35 #153A68 #1F579B #2974CE #5794DD

Accessibility & contrast

On white

7.25
#1F579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F579B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F579B#FFFFFF#000000##FFFFFF
##1F579B1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f579b;
/* rgb */ color: rgb(31, 87, 155);
/* oklch */ color: oklch(45.8% 0.125 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f85b9',
    500: '#1f579b',
    950: '#000000',
  },
}
SCSS
$custom: #1f579b;
$custom-light: #6f85b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f579b",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 212.903,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.12497,
    "h": 255.4
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#1F579B
secondary
#C19055
accent
#9C3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F579B

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

Preview Lab → · Contrast checker → · Palette generator →

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