#1B498C#1B498C

#1B498C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.3% C 0.122 H 258.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#1B498C
RGBrgb(27, 73, 140)
HSLhsl(216, 68%, 33%)
HSVhsv(216, 81%, 55%)
CMYKcmyk(80.7%, 47.9%, 0%, 45.1%)
CIE-LABlab(31.56, 10.10, -41.67)
CIE-LCHlch(31.56, 42.87, 283.63°)
OKLaboklab(41.3% -0.0248 -0.1196)
OKLCHoklch(41.3% 0.122 258.3)
XYZxyz(7.5664, 6.8907, 25.7371)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B498C #8C5E1B
analogous
#1B828C #1B498C #251B8C
triadic
#1B498C #8C1B49 #498C1B
tetradic
#1B498C #8C1B82 #8C5E1B #1B8C25
square
#1B498C #8C1B82 #8C5E1B #1B8C25
split-complementary
#1B498C #8C251B #828C1B
monochromatic
#071325 #112E59 #1B498C #2564BF #4683DB

Accessibility & contrast

On white

8.83
#1B498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B498C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B498C#FFFFFF#000000##FFFFFF
##1B498C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#05458B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b498c;
/* rgb */ color: rgb(27, 73, 140);
/* oklch */ color: oklch(41.3% 0.122 258.3);
Tailwind
colors: {
  custom: {
    50: '#6a7bae',
    500: '#1b498c',
    950: '#000000',
  },
}
SCSS
$custom: #1b498c;
$custom-light: #6a7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b498c",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 215.575,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41303,
    "c": 0.12218,
    "h": 258.3
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#1B498C
secondary
#BD8C46
accent
#A43DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B498C

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

Preview Lab → · Contrast checker → · Palette generator →

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