#1A5793#1A5793

#1A5793 is a mid, moderate cyan. Relative luminance 0.091; OKLCH L 45.1% C 0.116 H 251.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#1A5793
RGBrgb(26, 87, 147)
HSLhsl(210, 70%, 34%)
HSVhsv(210, 82%, 58%)
CMYKcmyk(82.3%, 40.8%, 0%, 42.4%)
CIE-LABlab(36.26, 3.49, -38.41)
CIE-LCHlch(36.26, 38.57, 275.19°)
OKLaboklab(45.09% -0.036 -0.1098)
OKLCHoklch(45.09% 0.116 251.8)
XYZxyz(9.0987, 9.1415, 28.8830)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5793 #93561A
analogous
#1A9393 #1A5793 #1A1B93
triadic
#1A5793 #931A57 #57931A
tetradic
#1A5793 #931A93 #93561A #1B931A
square
#1A5793 #931A93 #93561A #1B931A
split-complementary
#1A5793 #931A1B #93931A
monochromatic
#08192B #11385F #1A5793 #2376C7 #4994DF

Accessibility & contrast

On white

7.42
#1A5793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1A5793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5793
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5793#FFFFFF#000000##FFFFFF
##1A57931.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#265092
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1a5793;
/* rgb */ color: rgb(26, 87, 147);
/* oklch */ color: oklch(45.1% 0.116 251.8);
Tailwind
colors: {
  custom: {
    50: '#6b85b3',
    500: '#1a5793',
    950: '#000000',
  },
}
SCSS
$custom: #1a5793;
$custom-light: #6b85b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5793",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 209.752,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.11555,
    "h": 251.8
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#1A5793
secondary
#C08448
accent
#933BED
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1A5793

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

Preview Lab → · Contrast checker → · Palette generator →

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