#1B4193#1B4193

#1B4193 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.142 H 262.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1B4193
RGBrgb(27, 65, 147)
HSLhsl(221, 69%, 34%)
HSVhsv(221, 82%, 58%)
CMYKcmyk(81.6%, 55.8%, 0%, 42.4%)
CIE-LABlab(29.71, 18.44, -48.94)
CIE-LCHlch(29.71, 52.30, 290.65°)
OKLaboklab(40.06% -0.0176 -0.1412)
OKLCHoklch(40.06% 0.142 262.9)
XYZxyz(7.6069, 6.1193, 28.3783)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4193 #936D1B
analogous
#1B7D93 #1B4193 #311B93
triadic
#1B4193 #931B41 #41931B
tetradic
#1B4193 #931B7D #936D1B #1B9331
square
#1B4193 #931B7D #936D1B #1B9331
split-complementary
#1B4193 #93311B #7D931B
monochromatic
#08132C #122A5F #1B4193 #2458C7 #4B79DE

Accessibility & contrast

On white

9.44
#1B4193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B4193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4193
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4193#FFFFFF#000000##FFFFFF
##1B41931.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4193;
/* rgb */ color: rgb(27, 65, 147);
/* oklch */ color: oklch(40.1% 0.142 262.9);
Tailwind
colors: {
  custom: {
    50: '#6c75b3',
    500: '#1b4193',
    950: '#000000',
  },
}
SCSS
$custom: #1b4193;
$custom-light: #6c75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4193",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 221,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.14229,
    "h": 262.9
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#1B4193
secondary
#C09B4A
accent
#B43CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4193

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

Preview Lab → · Contrast checker → · Palette generator →

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