#1A55B3#1A55B3

#1A55B3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.161 H 259.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#1A55B3
RGBrgb(26, 85, 179)
HSLhsl(217, 75%, 40%)
HSVhsv(217, 85%, 70%)
CMYKcmyk(85.5%, 52.5%, 0%, 29.8%)
CIE-LABlab(37.79, 17.64, -55.06)
CIE-LCHlch(37.79, 57.82, 287.77°)
OKLaboklab(46.95% -0.0286 -0.1588)
OKLCHoklch(46.95% 0.161 259.8)
XYZxyz(11.8082, 9.9698, 43.9411)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A55B3 #B3781A
analogous
#1AA1B3 #1A55B3 #2C1AB3
triadic
#1A55B3 #B31A55 #55B31A
tetradic
#1A55B3 #B31AA1 #B3781A #1AB32C
square
#1A55B3 #B31AA1 #B3781A #1AB32C
split-complementary
#1A55B3 #B32C1A #A1B31A
monochromatic
#0A2248 #123C7E #1A55B3 #2A70E0 #6094E8

Accessibility & contrast

On white

7.01
#1A55B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1A55B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A55B3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A55B3#FFFFFF#000000##FFFFFF
##1A55B31.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1a55b3;
/* rgb */ color: rgb(26, 85, 179);
/* oklch */ color: oklch(46.9% 0.161 259.8);
Tailwind
colors: {
  custom: {
    50: '#7384ca',
    500: '#1a55b3',
    950: '#000000',
  },
}
SCSS
$custom: #1a55b3;
$custom-light: #7384ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1a55b3",
  "rgb": {
    "r": 26,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 216.863,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.16135,
    "h": 259.8
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#1A55B3
secondary
#CCA15D
accent
#A937F1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A55B3

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

Preview Lab → · Contrast checker → · Palette generator →

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