#1B498B#1B498B

#1B498B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.2% C 0.121 H 258.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1B498B
RGBrgb(27, 73, 139)
HSLhsl(215, 67%, 33%)
HSVhsv(215, 81%, 55%)
CMYKcmyk(80.6%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.49, 9.70, -41.16)
CIE-LCHlch(31.49, 42.29, 283.26°)
OKLaboklab(41.23% -0.025 -0.1181)
OKLCHoklch(41.23% 0.121 258.1)
XYZxyz(7.4930, 6.8613, 25.3505)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B498B #8B5D1B
analogous
#1B818B #1B498B #251B8B
triadic
#1B498B #8B1B49 #498B1B
tetradic
#1B498B #8B1B81 #8B5D1B #1B8B25
square
#1B498B #8B1B81 #8B5D1B #1B8B25
split-complementary
#1B498B #8B251B #818B1B
monochromatic
#071325 #112E58 #1B498B #2564BE #4583DB

Accessibility & contrast

On white

8.85
#1B498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B498B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B498B#FFFFFF#000000##FFFFFF
##1B498B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508D
Deuteranopia (green-blind)
#08458A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b498b;
/* rgb */ color: rgb(27, 73, 139);
/* oklch */ color: oklch(41.2% 0.121 258.1);
Tailwind
colors: {
  custom: {
    50: '#6a7bad',
    500: '#1b498b',
    950: '#000000',
  },
}
SCSS
$custom: #1b498b;
$custom-light: #6a7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b498b",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 215.357,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41229,
    "c": 0.12076,
    "h": 258.1
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#1B498B
secondary
#BC8C45
accent
#A33DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B498B

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

Preview Lab → · Contrast checker → · Palette generator →

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