#1B4182#1B4182

#1B4182 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.118 H 260.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#1B4182
RGBrgb(27, 65, 130)
HSLhsl(218, 66%, 31%)
HSVhsv(218, 79%, 51%)
CMYKcmyk(79.2%, 50%, 0%, 49%)
CIE-LABlab(28.44, 11.53, -40.49)
CIE-LCHlch(28.44, 42.10, 285.89°)
OKLaboklab(38.69% -0.0197 -0.1163)
OKLCHoklch(38.69% 0.118 260.4)
XYZxyz(6.3701, 5.6246, 21.8647)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4182 #825C1B
analogous
#1B7482 #1B4182 #281B82
triadic
#1B4182 #821B41 #41821B
tetradic
#1B4182 #821B74 #825C1B #1B8228
square
#1B4182 #821B74 #825C1B #1B8228
split-complementary
#1B4182 #82281B #74821B
monochromatic
#060E1D #10284F #1B4182 #265AB5 #4078D7

Accessibility & contrast

On white

9.88
#1B4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1B4182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4182
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4182#FFFFFF#000000##FFFFFF
##1B41821.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4182;
/* rgb */ color: rgb(27, 65, 130);
/* oklch */ color: oklch(38.7% 0.118 260.4);
Tailwind
colors: {
  custom: {
    50: '#6875a7',
    500: '#1b4182',
    950: '#000000',
  },
}
SCSS
$custom: #1b4182;
$custom-light: #6875a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4182",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 217.864,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.11799,
    "h": 260.4
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#1B4182
secondary
#B68B43
accent
#AA3FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4182

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

Preview Lab → · Contrast checker → · Palette generator →

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