#1A5FB2#1A5FB2

#1A5FB2 is a mid, vivid cyan. Relative luminance 0.116; OKLCH L 49.1% C 0.148 H 256.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#1A5FB2
RGBrgb(26, 95, 178)
HSLhsl(213, 75%, 40%)
HSVhsv(213, 85%, 70%)
CMYKcmyk(85.4%, 46.6%, 0%, 30.2%)
CIE-LABlab(40.60, 10.65, -49.93)
CIE-LCHlch(40.60, 51.05, 282.04°)
OKLaboklab(49.09% -0.0359 -0.1435)
OKLCHoklch(49.09% 0.148 256)
XYZxyz(12.5511, 11.6168, 43.6916)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5FB2 #B26D1A
analogous
#1AABB2 #1A5FB2 #211AB2
triadic
#1A5FB2 #B21A5F #5FB21A
tetradic
#1A5FB2 #B21AAB #B26D1A #1AB221
square
#1A5FB2 #B21AAB #B26D1A #1AB221
split-complementary
#1A5FB2 #B2211A #ABB21A
monochromatic
#0A2647 #12437D #1A5FB2 #297CE0 #5F9DE8

Accessibility & contrast

On white

6.32
#1A5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#1A5FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A5FB2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5FB2#FFFFFF#000000##FFFFFF
##1A5FB21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#0359B0
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1a5fb2;
/* rgb */ color: rgb(26, 95, 178);
/* oklch */ color: oklch(49.1% 0.148 256.0);
Tailwind
colors: {
  custom: {
    50: '#738bc9',
    500: '#1a5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #1a5fb2;
$custom-light: #738bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5fb2",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 212.763,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.14791,
    "h": 256
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#1A5FB2
secondary
#CC995C
accent
#9C37F1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C13
muted
#7B7D82

Preview Lab

Preview with #1A5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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