#1A5F97#1A5F97

#1A5F97 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.112 H 248.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#1A5F97
RGBrgb(26, 95, 151)
HSLhsl(207, 71%, 35%)
HSVhsv(207, 83%, 59%)
CMYKcmyk(82.8%, 37.1%, 0%, 40.8%)
CIE-LABlab(38.96, -0.07, -36.52)
CIE-LCHlch(38.96, 36.52, 269.90°)
OKLaboklab(47.28% -0.0421 -0.1041)
OKLCHoklch(47.28% 0.112 248)
XYZxyz(10.1020, 10.6372, 30.7929)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F97 #97521A
analogous
#1A9791 #1A5F97 #1A2197
triadic
#1A5F97 #971A5F #5F971A
tetradic
#1A5F97 #911A97 #97521A #21971A
square
#1A5F97 #911A97 #97521A #21971A
split-complementary
#1A5F97 #971A21 #97911A
monochromatic
#081D2F #113E63 #1A5F97 #2380CB #4B9DE0

Accessibility & contrast

On white

6.71
#1A5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#1A5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A5F97
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F97#FFFFFF#000000##FFFFFF
##1A5F971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1a5f97;
/* rgb */ color: rgb(26, 95, 151);
/* oklch */ color: oklch(47.3% 0.112 248.0);
Tailwind
colors: {
  custom: {
    50: '#6c8cb6',
    500: '#1a5f97',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f97;
$custom-light: #6c8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f97",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 206.88,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.11229,
    "h": 248
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#1A5F97
secondary
#C2804B
accent
#8B3AED
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1A5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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