#1B3578#1B3578

#1B3578 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.119 H 264.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#1B3578
RGBrgb(27, 53, 120)
HSLhsl(223, 63%, 29%)
HSVhsv(223, 78%, 47%)
CMYKcmyk(77.5%, 55.8%, 0%, 52.9%)
CIE-LABlab(24.11, 15.87, -41.20)
CIE-LCHlch(24.11, 44.15, 291.06°)
OKLaboklab(35.15% -0.0107 -0.1187)
OKLCHoklch(35.15% 0.119 264.9)
XYZxyz(5.1141, 4.1347, 18.2942)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3578 #785E1B
analogous
#1B6478 #1B3578 #301B78
triadic
#1B3578 #781B35 #35781B
tetradic
#1B3578 #781B64 #785E1B #1B7830
square
#1B3578 #781B64 #785E1B #1B7830
split-complementary
#1B3578 #78301B #64781B
monochromatic
#060B19 #101F46 #1B3578 #264BAA #3B65D3

Accessibility & contrast

On white

11.49
#1B3578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B3578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3578
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3578#FFFFFF#000000##FFFFFF
##1B35781.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3578;
/* rgb */ color: rgb(27, 53, 120);
/* oklch */ color: oklch(35.1% 0.119 264.9);
Tailwind
colors: {
  custom: {
    50: '#666b9f',
    500: '#1b3578',
    950: '#000000',
  },
}
SCSS
$custom: #1b3578;
$custom-light: #666b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3578",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 120
  },
  "hsl": {
    "h": 223.226,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.11915,
    "h": 264.9
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#1B3578
secondary
#AC8F43
accent
#B841E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1B3578

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

Preview Lab → · Contrast checker → · Palette generator →

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