#1B418A#1B418A

#1B418A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.130 H 261.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1B418A
RGBrgb(27, 65, 138)
HSLhsl(219, 67%, 32%)
HSVhsv(219, 80%, 54%)
CMYKcmyk(80.4%, 52.9%, 0%, 45.9%)
CIE-LABlab(29.03, 14.79, -44.52)
CIE-LCHlch(29.03, 46.91, 288.38°)
OKLaboklab(39.32% -0.0185 -0.1282)
OKLCHoklch(39.32% 0.13 261.8)
XYZxyz(6.9281, 5.8478, 24.8034)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B418A #8A641B
analogous
#1B798A #1B418A #2C1B8A
triadic
#1B418A #8A1B41 #418A1B
tetradic
#1B418A #8A1B79 #8A641B #1B8A2C
square
#1B418A #8A1B79 #8A641B #1B8A2C
split-complementary
#1B418A #8A2C1B #798A1B
monochromatic
#071124 #112957 #1B418A #2559BD #4578DB

Accessibility & contrast

On white

9.68
#1B418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B418A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B418A#FFFFFF#000000##FFFFFF
##1B418A1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b418a;
/* rgb */ color: rgb(27, 65, 138);
/* oklch */ color: oklch(39.3% 0.130 261.8);
Tailwind
colors: {
  custom: {
    50: '#6a75ad',
    500: '#1b418a',
    950: '#000000',
  },
}
SCSS
$custom: #1b418a;
$custom-light: #6a75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b418a",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 219.459,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39316,
    "c": 0.12952,
    "h": 261.8
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#1B418A
secondary
#BC9345
accent
#AF3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B418A

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

Preview Lab → · Contrast checker → · Palette generator →

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