#1B498E#1B498E

#1B498E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.5% C 0.125 H 258.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1B498E
RGBrgb(27, 73, 142)
HSLhsl(216, 68%, 33%)
HSVhsv(216, 81%, 56%)
CMYKcmyk(81%, 48.6%, 0%, 44.3%)
CIE-LABlab(31.69, 10.92, -42.67)
CIE-LCHlch(31.69, 44.05, 284.35°)
OKLaboklab(41.45% -0.0244 -0.1226)
OKLCHoklch(41.45% 0.125 258.7)
XYZxyz(7.7152, 6.9502, 26.5208)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B498E #8E601B
analogous
#1B828E #1B498E #261B8E
triadic
#1B498E #8E1B49 #498E1B
tetradic
#1B498E #8E1B82 #8E601B #1B8E26
square
#1B498E #8E1B82 #8E601B #1B8E26
split-complementary
#1B498E #8E261B #828E1B
monochromatic
#071427 #112F5B #1B498E #2563C1 #4783DC

Accessibility & contrast

On white

8.79
#1B498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B498E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B498E#FFFFFF#000000##FFFFFF
##1B498E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b498e;
/* rgb */ color: rgb(27, 73, 142);
/* oklch */ color: oklch(41.5% 0.125 258.7);
Tailwind
colors: {
  custom: {
    50: '#6b7baf',
    500: '#1b498e',
    950: '#000000',
  },
}
SCSS
$custom: #1b498e;
$custom-light: #6b7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b498e",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 216,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.12501,
    "h": 258.7
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#1B498E
secondary
#BE8E47
accent
#A53DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1B498E

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

Preview Lab → · Contrast checker → · Palette generator →

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