#1B579F#1B579F

#1B579F is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.132 H 255.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#1B579F
RGBrgb(27, 87, 159)
HSLhsl(213, 71%, 36%)
HSVhsv(213, 83%, 62%)
CMYKcmyk(83%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.02, 8.40, -44.40)
CIE-LCHlch(37.02, 45.19, 280.71°)
OKLaboklab(45.93% -0.0328 -0.1274)
OKLCHoklch(45.93% 0.132 255.6)
XYZxyz(10.1159, 9.5514, 34.1046)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B579F #9F631B
analogous
#1B999F #1B579F #211B9F
triadic
#1B579F #9F1B57 #579F1B
tetradic
#1B579F #9F1B99 #9F631B #1B9F21
square
#1B579F #9F1B99 #9F631B #1B9F21
split-complementary
#1B579F #9F211B #999F1B
monochromatic
#091E36 #123A6B #1B579F #2474D3 #5394E2

Accessibility & contrast

On white

7.22
#1B579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1B579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B579F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B579F#FFFFFF#000000##FFFFFF
##1B579F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA2
Deuteranopia (green-blind)
#14529E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b579f;
/* rgb */ color: rgb(27, 87, 159);
/* oklch */ color: oklch(45.9% 0.132 255.6);
Tailwind
colors: {
  custom: {
    50: '#6e85bc',
    500: '#1b579f',
    950: '#000000',
  },
}
SCSS
$custom: #1b579f;
$custom-light: #6e85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b579f",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 212.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.13154,
    "h": 255.6
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#1B579F
secondary
#C59051
accent
#9C3AEE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #1B579F

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

Preview Lab → · Contrast checker → · Palette generator →

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