#1B498A#1B498A

#1B498A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.119 H 257.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#1B498A
RGBrgb(27, 73, 138)
HSLhsl(215, 67%, 32%)
HSVhsv(215, 80%, 54%)
CMYKcmyk(80.4%, 47.1%, 0%, 45.9%)
CIE-LABlab(31.42, 9.29, -40.65)
CIE-LCHlch(31.42, 41.70, 282.88°)
OKLaboklab(41.16% -0.0252 -0.1166)
OKLCHoklch(41.16% 0.119 257.8)
XYZxyz(7.4203, 6.8322, 24.9675)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B498A #8A5C1B
analogous
#1B818A #1B498A #241B8A
triadic
#1B498A #8A1B49 #498A1B
tetradic
#1B498A #8A1B81 #8A5C1B #1B8A24
square
#1B498A #8A1B81 #8A5C1B #1B8A24
split-complementary
#1B498A #8A241B #818A1B
monochromatic
#071324 #112E57 #1B498A #2564BD #4583DB

Accessibility & contrast

On white

8.87
#1B498A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1B498A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B498A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B498A#FFFFFF#000000##FFFFFF
##1B498A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#0B4589
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b498a;
/* rgb */ color: rgb(27, 73, 138);
/* oklch */ color: oklch(41.2% 0.119 257.8);
Tailwind
colors: {
  custom: {
    50: '#6a7bad',
    500: '#1b498a',
    950: '#000000',
  },
}
SCSS
$custom: #1b498a;
$custom-light: #6a7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b498a",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 138
  },
  "hsl": {
    "h": 215.135,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.11934,
    "h": 257.8
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#1B498A
secondary
#BC8B45
accent
#A33EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B498A

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

Preview Lab → · Contrast checker → · Palette generator →

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