#1F58B0#1F58B0

#1F58B0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.152 H 259.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#1F58B0
RGBrgb(31, 88, 176)
HSLhsl(216, 70%, 41%)
HSVhsv(216, 82%, 69%)
CMYKcmyk(82.4%, 50%, 0%, 31%)
CIE-LABlab(38.56, 14.89, -52.04)
CIE-LCHlch(38.56, 54.13, 285.97°)
OKLaboklab(47.51% -0.0285 -0.1498)
OKLCHoklch(47.51% 0.152 259.2)
XYZxyz(11.8884, 10.4039, 42.4475)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F58B0 #B0771F
analogous
#1FA0B0 #1F58B0 #2F1FB0
triadic
#1F58B0 #B01F58 #58B01F
tetradic
#1F58B0 #B01FA0 #B0771F #1FB02F
square
#1F58B0 #B01FA0 #B0771F #1FB02F
split-complementary
#1F58B0 #B02F1F #A0B01F
monochromatic
#0D2448 #163E7C #1F58B0 #3174DB #6597E4

Accessibility & contrast

On white

6.82
#1F58B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#1F58B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F58B0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F58B0#FFFFFF#000000##FFFFFF
##1F58B01.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f58b0;
/* rgb */ color: rgb(31, 88, 176);
/* oklch */ color: oklch(47.5% 0.152 259.2);
Tailwind
colors: {
  custom: {
    50: '#7486c8',
    500: '#1f58b0',
    950: '#000000',
  },
}
SCSS
$custom: #1f58b0;
$custom-light: #7486c8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f58b0",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 176
  },
  "hsl": {
    "h": 216.414,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47507,
    "c": 0.15247,
    "h": 259.2
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#1F58B0
secondary
#C9A062
accent
#A73BED
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1F58B0

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

Preview Lab → · Contrast checker → · Palette generator →

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