#1A5271#1A5271

#1A5271 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.077 H 237.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1A5271
RGBrgb(26, 82, 113)
HSLhsl(201, 63%, 27%)
HSVhsv(201, 77%, 44%)
CMYKcmyk(77%, 27.4%, 0%, 55.7%)
CIE-LABlab(32.80, -6.69, -22.96)
CIE-LCHlch(32.80, 23.91, 253.75°)
OKLaboklab(41.76% -0.0416 -0.0647)
OKLCHoklch(41.76% 0.077 237.3)
XYZxyz(6.4228, 7.4457, 16.7182)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5271 #71391A
analogous
#1A7164 #1A5271 #1A2771
triadic
#1A5271 #711A52 #52711A
tetradic
#1A5271 #641A71 #71391A #27711A
square
#1A5271 #641A71 #71391A #27711A
split-complementary
#1A5271 #711A27 #71641A
monochromatic
#061219 #0F2E3F #1A5271 #2576A3 #3599D0

Accessibility & contrast

On white

8.44
#1A5271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1A5271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5271
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5271#FFFFFF#000000##FFFFFF
##1A52711.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435272
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a5271;
/* rgb */ color: rgb(26, 82, 113);
/* oklch */ color: oklch(41.8% 0.077 237.3);
Tailwind
colors: {
  custom: {
    50: '#64829a',
    500: '#1a5271',
    950: '#000000',
  },
}
SCSS
$custom: #1a5271;
$custom-light: #64829a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5271",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 201.379,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.07696,
    "h": 237.3
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#1A5271
secondary
#A66541
accent
#7C42E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A5271

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

Preview Lab → · Contrast checker → · Palette generator →

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