#1A5279#1A5279

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

Color values

HEX#1A5279
RGBrgb(26, 82, 121)
HSLhsl(205, 65%, 29%)
HSVhsv(205, 79%, 47%)
CMYKcmyk(78.5%, 32.2%, 0%, 52.5%)
CIE-LABlab(33.21, -3.59, -27.30)
CIE-LCHlch(33.21, 27.54, 262.50°)
OKLaboklab(42.21% -0.0388 -0.0774)
OKLCHoklch(42.21% 0.087 243.4)
XYZxyz(6.8931, 7.6339, 19.1956)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5279 #79411A
analogous
#1A7971 #1A5279 #1A2279
triadic
#1A5279 #791A52 #52791A
tetradic
#1A5279 #711A79 #79411A #22791A
square
#1A5279 #711A79 #79411A #22791A
split-complementary
#1A5279 #791A22 #79711A
monochromatic
#051119 #0F3047 #1A5279 #2574AB #3995D4

Accessibility & contrast

On white

8.31
#1A5279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A5279
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5279#FFFFFF#000000##FFFFFF
##1A52791.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.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: #1a5279;
/* rgb */ color: rgb(26, 82, 121);
/* oklch */ color: oklch(42.2% 0.087 243.4);
Tailwind
colors: {
  custom: {
    50: '#6582a0',
    500: '#1a5279',
    950: '#000000',
  },
}
SCSS
$custom: #1a5279;
$custom-light: #6582a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5279",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 204.632,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.08654,
    "h": 243.4
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#1A5279
secondary
#AD6E41
accent
#8540E8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A5279

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

Preview Lab → · Contrast checker → · Palette generator →

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