#1F55B3#1F55B3

#1F55B3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.160 H 260.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#1F55B3
RGBrgb(31, 85, 179)
HSLhsl(218, 70%, 41%)
HSVhsv(218, 83%, 70%)
CMYKcmyk(82.7%, 52.5%, 0%, 29.8%)
CIE-LABlab(37.92, 18.07, -54.84)
CIE-LCHlch(37.92, 57.74, 288.23°)
OKLaboklab(47.09% -0.0259 -0.1581)
OKLCHoklch(47.09% 0.16 260.7)
XYZxyz(11.9473, 10.0415, 43.9476)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F55B3 #B37D1F
analogous
#1F9FB3 #1F55B3 #331FB3
triadic
#1F55B3 #B31F55 #55B31F
tetradic
#1F55B3 #B31F9F #B37D1F #1FB333
square
#1F55B3 #B31F9F #B37D1F #1FB333
split-complementary
#1F55B3 #B3331F #9FB31F
monochromatic
#0D234B #163C7F #1F55B3 #3371DC #6895E5

Accessibility & contrast

On white

6.98
#1F55B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F55B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F55B3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F55B3#FFFFFF#000000##FFFFFF
##1F55B31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f55b3;
/* rgb */ color: rgb(31, 85, 179);
/* oklch */ color: oklch(47.1% 0.160 260.7);
Tailwind
colors: {
  custom: {
    50: '#7484ca',
    500: '#1f55b3',
    950: '#000000',
  },
}
SCSS
$custom: #1f55b3;
$custom-light: #7484ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f55b3",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 218.108,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47085,
    "c": 0.16022,
    "h": 260.7
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#1F55B3
secondary
#CAA564
accent
#AC3BED
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1F55B3

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

Preview Lab → · Contrast checker → · Palette generator →

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