#1A5181#1A5181

#1A5181 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.098 H 248.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1A5181
RGBrgb(26, 81, 129)
HSLhsl(208, 66%, 30%)
HSVhsv(208, 80%, 51%)
CMYKcmyk(79.8%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.33, 0.21, -32.07)
CIE-LCHlch(33.33, 32.07, 270.37°)
OKLaboklab(42.45% -0.0353 -0.0913)
OKLCHoklch(42.45% 0.098 248.9)
XYZxyz(7.3294, 7.6886, 21.8624)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5181 #814A1A
analogous
#1A817D #1A5181 #1A1D81
triadic
#1A5181 #811A51 #51811A
tetradic
#1A5181 #7D1A81 #814A1A #1D811A
square
#1A5181 #7D1A81 #814A1A #1D811A
split-complementary
#1A5181 #811A1D #817D1A
monochromatic
#05111B #10314E #1A5181 #2471B4 #3D90D8

Accessibility & contrast

On white

8.27
#1A5181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1A5181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5181
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5181#FFFFFF#000000##FFFFFF
##1A51811.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#2B4A80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a5181;
/* rgb */ color: rgb(26, 81, 129);
/* oklch */ color: oklch(42.4% 0.098 248.9);
Tailwind
colors: {
  custom: {
    50: '#6781a6',
    500: '#1a5181',
    950: '#000000',
  },
}
SCSS
$custom: #1a5181;
$custom-light: #6781a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5181",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 207.961,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.0979,
    "h": 248.9
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#1A5181
secondary
#B57742
accent
#8E3EE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A5181

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

Preview Lab → · Contrast checker → · Palette generator →

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