#1F55A4#1F55A4

#1F55A4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 45.9% C 0.140 H 258.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#1F55A4
RGBrgb(31, 85, 164)
HSLhsl(216, 68%, 38%)
HSVhsv(216, 81%, 64%)
CMYKcmyk(81.1%, 48.2%, 0%, 35.7%)
CIE-LABlab(36.87, 12.12, -47.64)
CIE-LCHlch(36.87, 49.16, 284.27°)
OKLaboklab(45.95% -0.028 -0.1369)
OKLCHoklch(45.95% 0.14 258.4)
XYZxyz(10.5120, 9.4674, 36.3881)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F55A4 #A46E1F
analogous
#1F97A4 #1F55A4 #2B1FA4
triadic
#1F55A4 #A41F55 #55A41F
tetradic
#1F55A4 #A41F97 #A46E1F #1FA42B
square
#1F55A4 #A41F97 #A46E1F #1FA42B
split-complementary
#1F55A4 #A42B1F #97A41F
monochromatic
#0C203D #153A71 #1F55A4 #2A70D7 #5D92E0

Accessibility & contrast

On white

7.26
#1F55A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F55A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F55A4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F55A4#FFFFFF#000000##FFFFFF
##1F55A41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f55a4;
/* rgb */ color: rgb(31, 85, 164);
/* oklch */ color: oklch(45.9% 0.140 258.4);
Tailwind
colors: {
  custom: {
    50: '#7184bf',
    500: '#1f55a4',
    950: '#000000',
  },
}
SCSS
$custom: #1f55a4;
$custom-light: #7184bf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f55a4",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 164
  },
  "hsl": {
    "h": 215.639,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.13974,
    "h": 258.4
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#1F55A4
secondary
#C5995A
accent
#A43DEB
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F55A4

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

Preview Lab → · Contrast checker → · Palette generator →

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