#1F55A6#1F55A6

#1F55A6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.142 H 258.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#1F55A6
RGBrgb(31, 85, 166)
HSLhsl(216, 69%, 39%)
HSVhsv(216, 81%, 65%)
CMYKcmyk(81.3%, 48.8%, 0%, 34.9%)
CIE-LABlab(37.00, 12.91, -48.61)
CIE-LCHlch(37.00, 50.30, 284.88°)
OKLaboklab(46.1% -0.0277 -0.1398)
OKLCHoklch(46.1% 0.142 258.8)
XYZxyz(10.6940, 9.5402, 37.3468)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F55A6 #A6701F
analogous
#1F98A6 #1F55A6 #2C1FA6
triadic
#1F55A6 #A61F55 #55A61F
tetradic
#1F55A6 #A61F98 #A6701F #1FA62C
square
#1F55A6 #A61F98 #A6701F #1FA62C
split-complementary
#1F55A6 #A62C1F #98A61F
monochromatic
#0C203F #153B72 #1F55A6 #2B70D7 #5E93E1

Accessibility & contrast

On white

7.22
#1F55A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1F55A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F55A6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F55A6#FFFFFF#000000##FFFFFF
##1F55A61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f55a6;
/* rgb */ color: rgb(31, 85, 166);
/* oklch */ color: oklch(46.1% 0.142 258.8);
Tailwind
colors: {
  custom: {
    50: '#7184c1',
    500: '#1f55a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f55a6;
$custom-light: #7184c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f55a6",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 216,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.14249,
    "h": 258.8
  },
  "luminance": 0.09541
}

Semantic roles & 50–950 ramp

primary
#1F55A6
secondary
#C59B5B
accent
#A53CEB
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F55A6

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

Preview Lab → · Contrast checker → · Palette generator →

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