#1B458D#1B458D

#1B458D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.129 H 260.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1B458D
RGBrgb(27, 69, 141)
HSLhsl(218, 68%, 33%)
HSVhsv(218, 81%, 55%)
CMYKcmyk(80.9%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.43, 13.25, -44.10)
CIE-LCHlch(30.43, 46.05, 286.72°)
OKLaboklab(40.46% -0.0213 -0.1269)
OKLCHoklch(40.46% 0.129 260.5)
XYZxyz(7.3861, 6.4115, 26.0424)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B458D #8D631B
analogous
#1B7E8D #1B458D #2A1B8D
triadic
#1B458D #8D1B45 #458D1B
tetradic
#1B458D #8D1B7E #8D631B #1B8D2A
square
#1B458D #8D1B7E #8D631B #1B8D2A
split-complementary
#1B458D #8D2A1B #7E8D1B
monochromatic
#071326 #112C5A #1B458D #255EC0 #477EDC

Accessibility & contrast

On white

9.20
#1B458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B458D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B458D#FFFFFF#000000##FFFFFF
##1B458D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b458d;
/* rgb */ color: rgb(27, 69, 141);
/* oklch */ color: oklch(40.5% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#6b78af',
    500: '#1b458d',
    950: '#000000',
  },
}
SCSS
$custom: #1b458d;
$custom-light: #6b78af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b458d",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 217.895,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.12866,
    "h": 260.5
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#1B458D
secondary
#BD9246
accent
#AB3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B458D

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

Preview Lab → · Contrast checker → · Palette generator →

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