#1F55A8#1F55A8

#1F55A8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.145 H 259.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#1F55A8
RGBrgb(31, 85, 168)
HSLhsl(216, 69%, 39%)
HSVhsv(216, 82%, 66%)
CMYKcmyk(81.5%, 49.4%, 0%, 34.1%)
CIE-LABlab(37.14, 13.71, -49.58)
CIE-LCHlch(37.14, 51.44, 285.46°)
OKLaboklab(46.24% -0.0274 -0.1426)
OKLCHoklch(46.24% 0.145 259.1)
XYZxyz(10.8789, 9.6141, 38.3205)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F55A8 #A8721F
analogous
#1F9AA8 #1F55A8 #2D1FA8
triadic
#1F55A8 #A81F55 #55A81F
tetradic
#1F55A8 #A81F9A #A8721F #1FA82D
square
#1F55A8 #A81F9A #A8721F #1FA82D
split-complementary
#1F55A8 #A82D1F #9AA81F
monochromatic
#0C2141 #153B74 #1F55A8 #2C70D8 #6093E2

Accessibility & contrast

On white

7.18
#1F55A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1F55A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F55A8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F55A8#FFFFFF#000000##FFFFFF
##1F55A81.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f55a8;
/* rgb */ color: rgb(31, 85, 168);
/* oklch */ color: oklch(46.2% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#7284c2',
    500: '#1f55a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f55a8;
$custom-light: #7284c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f55a8",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 168
  },
  "hsl": {
    "h": 216.35,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.14524,
    "h": 259.1
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#1F55A8
secondary
#C69D5D
accent
#A63CEC
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F55A8

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

Preview Lab → · Contrast checker → · Palette generator →

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