#1B4893#1B4893

#1B4893 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.133 H 260.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#1B4893
RGBrgb(27, 72, 147)
HSLhsl(218, 69%, 34%)
HSVhsv(218, 82%, 58%)
CMYKcmyk(81.6%, 51%, 0%, 42.4%)
CIE-LABlab(31.75, 13.63, -45.65)
CIE-LCHlch(31.75, 47.64, 286.62°)
OKLaboklab(41.6% -0.0228 -0.1314)
OKLCHoklch(41.6% 0.133 260.1)
XYZxyz(8.0339, 6.9734, 28.5207)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4893 #93661B
analogous
#1B8493 #1B4893 #2A1B93
triadic
#1B4893 #931B48 #48931B
tetradic
#1B4893 #931B84 #93661B #1B932A
square
#1B4893 #931B84 #93661B #1B932A
split-complementary
#1B4893 #932A1B #84931B
monochromatic
#08152C #122F5F #1B4893 #2461C7 #4B82DE

Accessibility & contrast

On white

8.77
#1B4893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4893
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4893#FFFFFF#000000##FFFFFF
##1B48931.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5096
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4893;
/* rgb */ color: rgb(27, 72, 147);
/* oklch */ color: oklch(41.6% 0.133 260.1);
Tailwind
colors: {
  custom: {
    50: '#6c7ab3',
    500: '#1b4893',
    950: '#000000',
  },
}
SCSS
$custom: #1b4893;
$custom-light: #6c7ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4893",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 217.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.13334,
    "h": 260.1
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#1B4893
secondary
#C0944A
accent
#AA3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4893

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

Preview Lab → · Contrast checker → · Palette generator →

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