#1B58B0#1B58B0

#1B58B0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.153 H 258.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#1B58B0
RGBrgb(27, 88, 176)
HSLhsl(215, 73%, 40%)
HSVhsv(215, 85%, 69%)
CMYKcmyk(84.7%, 50%, 0%, 31%)
CIE-LABlab(38.46, 14.53, -52.21)
CIE-LCHlch(38.46, 54.19, 285.56°)
OKLaboklab(47.4% -0.0306 -0.1503)
OKLCHoklch(47.4% 0.153 258.5)
XYZxyz(11.7753, 10.3456, 42.4422)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B58B0 #B0731B
analogous
#1BA3B0 #1B58B0 #281BB0
triadic
#1B58B0 #B01B58 #58B01B
tetradic
#1B58B0 #B01BA3 #B0731B #1BB028
square
#1B58B0 #B01BA3 #B0731B #1BB028
split-complementary
#1B58B0 #B0281B #A3B01B
monochromatic
#0B2346 #133D7B #1B58B0 #2A74DE #5F96E6

Accessibility & contrast

On white

6.84
#1B58B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1B58B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B58B0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B58B0#FFFFFF#000000##FFFFFF
##1B58B01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b58b0;
/* rgb */ color: rgb(27, 88, 176);
/* oklch */ color: oklch(47.4% 0.153 258.5);
Tailwind
colors: {
  custom: {
    50: '#7386c8',
    500: '#1b58b0',
    950: '#000000',
  },
}
SCSS
$custom: #1b58b0;
$custom-light: #7386c8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b58b0",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 176
  },
  "hsl": {
    "h": 215.436,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.474,
    "c": 0.15342,
    "h": 258.5
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#1B58B0
secondary
#CB9D5C
accent
#A538F0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1B58B0

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

Preview Lab → · Contrast checker → · Palette generator →

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