#1F55A5#1F55A5

#1F55A5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.141 H 258.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#1F55A5
RGBrgb(31, 85, 165)
HSLhsl(216, 68%, 38%)
HSVhsv(216, 81%, 65%)
CMYKcmyk(81.2%, 48.5%, 0%, 35.3%)
CIE-LABlab(36.94, 12.52, -48.13)
CIE-LCHlch(36.94, 49.73, 284.58°)
OKLaboklab(46.02% -0.0279 -0.1383)
OKLCHoklch(46.02% 0.141 258.6)
XYZxyz(10.6026, 9.5036, 36.8656)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F55A5 #A56F1F
analogous
#1F98A5 #1F55A5 #2C1FA5
triadic
#1F55A5 #A51F55 #55A51F
tetradic
#1F55A5 #A51F98 #A56F1F #1FA52C
square
#1F55A5 #A51F98 #A56F1F #1FA52C
split-complementary
#1F55A5 #A52C1F #98A51F
monochromatic
#0C203E #153A71 #1F55A5 #2A70D7 #5E92E1

Accessibility & contrast

On white

7.24
#1F55A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1F55A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F55A5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F55A5#FFFFFF#000000##FFFFFF
##1F55A51.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f55a5;
/* rgb */ color: rgb(31, 85, 165);
/* oklch */ color: oklch(46.0% 0.141 258.6);
Tailwind
colors: {
  custom: {
    50: '#7184c0',
    500: '#1f55a5',
    950: '#000000',
  },
}
SCSS
$custom: #1f55a5;
$custom-light: #7184c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f55a5",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 165
  },
  "hsl": {
    "h": 215.821,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.14112,
    "h": 258.6
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#1F55A5
secondary
#C59A5B
accent
#A53DEB
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F55A5

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

Preview Lab → · Contrast checker → · Palette generator →

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