#1B418B#1B418B

#1B418B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.131 H 261.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1B418B
RGBrgb(27, 65, 139)
HSLhsl(220, 67%, 33%)
HSVhsv(220, 81%, 55%)
CMYKcmyk(80.6%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.10, 15.20, -45.01)
CIE-LCHlch(29.10, 47.51, 288.65°)
OKLaboklab(39.4% -0.0184 -0.1296)
OKLCHoklch(39.4% 0.131 261.9)
XYZxyz(7.0008, 5.8769, 25.1865)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B418B #8B651B
analogous
#1B798B #1B418B #2D1B8B
triadic
#1B418B #8B1B41 #418B1B
tetradic
#1B418B #8B1B79 #8B651B #1B8B2D
square
#1B418B #8B1B79 #8B651B #1B8B2D
split-complementary
#1B418B #8B2D1B #798B1B
monochromatic
#071125 #112958 #1B418B #2559BE #4578DB

Accessibility & contrast

On white

9.65
#1B418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B418B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B418B#FFFFFF#000000##FFFFFF
##1B418B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b418b;
/* rgb */ color: rgb(27, 65, 139);
/* oklch */ color: oklch(39.4% 0.131 261.9);
Tailwind
colors: {
  custom: {
    50: '#6a75ad',
    500: '#1b418b',
    950: '#000000',
  },
}
SCSS
$custom: #1b418b;
$custom-light: #6a75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b418b",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 219.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39397,
    "c": 0.13095,
    "h": 261.9
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#1B418B
secondary
#BC9445
accent
#B03DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B418B

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

Preview Lab → · Contrast checker → · Palette generator →

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