#1A58B4#1A58B4

#1A58B4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.159 H 258.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#1A58B4
RGBrgb(26, 88, 180)
HSLhsl(216, 75%, 40%)
HSVhsv(216, 86%, 71%)
CMYKcmyk(85.6%, 51.1%, 0%, 29.4%)
CIE-LABlab(38.71, 16.05, -54.15)
CIE-LCHlch(38.71, 56.48, 286.51°)
OKLaboklab(47.68% -0.0305 -0.1561)
OKLCHoklch(47.68% 0.159 258.9)
XYZxyz(12.1509, 10.4928, 44.5561)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A58B4 #B4761A
analogous
#1AA5B4 #1A58B4 #291AB4
triadic
#1A58B4 #B41A58 #58B41A
tetradic
#1A58B4 #B41AA5 #B4761A #1AB429
square
#1A58B4 #B41AA5 #B4761A #1AB429
split-complementary
#1A58B4 #B4291A #A5B41A
monochromatic
#0B2449 #123E7F #1A58B4 #2B74E0 #6097E8

Accessibility & contrast

On white

6.78
#1A58B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#1A58B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A58B4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A58B4#FFFFFF#000000##FFFFFF
##1A58B41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1a58b4;
/* rgb */ color: rgb(26, 88, 180);
/* oklch */ color: oklch(47.7% 0.159 258.9);
Tailwind
colors: {
  custom: {
    50: '#7386cb',
    500: '#1a58b4',
    950: '#000000',
  },
}
SCSS
$custom: #1a58b4;
$custom-light: #7386cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a58b4",
  "rgb": {
    "r": 26,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 215.844,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.15902,
    "h": 258.9
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#1A58B4
secondary
#CCA05D
accent
#A636F1
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1A58B4

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

Preview Lab → · Contrast checker → · Palette generator →

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