#1B5279#1B5279

#1B5279 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.086 H 243.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1B5279
RGBrgb(27, 82, 121)
HSLhsl(205, 64%, 29%)
HSVhsv(205, 78%, 47%)
CMYKcmyk(77.7%, 32.2%, 0%, 52.5%)
CIE-LABlab(33.24, -3.46, -27.25)
CIE-LCHlch(33.24, 27.47, 262.77°)
OKLaboklab(42.24% -0.0382 -0.0772)
OKLCHoklch(42.24% 0.086 243.7)
XYZxyz(6.9191, 7.6473, 19.1969)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5279 #79421B
analogous
#1B7971 #1B5279 #1B2379
triadic
#1B5279 #791B52 #52791B
tetradic
#1B5279 #711B79 #79421B #23791B
square
#1B5279 #711B79 #79421B #23791B
split-complementary
#1B5279 #791B23 #79711B
monochromatic
#061119 #103047 #1B5279 #2674AB #3B94D3

Accessibility & contrast

On white

8.30
#1B5279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B5279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5279
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5279#FFFFFF#000000##FFFFFF
##1B52791.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5279;
/* rgb */ color: rgb(27, 82, 121);
/* oklch */ color: oklch(42.2% 0.086 243.7);
Tailwind
colors: {
  custom: {
    50: '#6682a0',
    500: '#1b5279',
    950: '#000000',
  },
}
SCSS
$custom: #1b5279;
$custom-light: #6682a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5279",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 204.894,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.08616,
    "h": 243.7
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#1B5279
secondary
#AD6F43
accent
#8641E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5279

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

Preview Lab → · Contrast checker → · Palette generator →

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