#1B3993#1B3993

#1B3993 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.153 H 265.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#1B3993
RGBrgb(27, 57, 147)
HSLhsl(225, 69%, 34%)
HSVhsv(225, 82%, 58%)
CMYKcmyk(81.6%, 61.2%, 0%, 42.4%)
CIE-LABlab(27.48, 23.96, -52.58)
CIE-LCHlch(27.48, 57.78, 294.50°)
OKLaboklab(38.38% -0.0121 -0.152)
OKLCHoklch(38.38% 0.153 265.4)
XYZxyz(7.1797, 5.2650, 28.2360)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3993 #93751B
analogous
#1B7593 #1B3993 #391B93
triadic
#1B3993 #931B39 #39931B
tetradic
#1B3993 #931B75 #93751B #1B9339
square
#1B3993 #931B75 #93751B #1B9339
split-complementary
#1B3993 #93391B #75931B
monochromatic
#08112C #12255F #1B3993 #244DC7 #4B6FDE

Accessibility & contrast

On white

10.23
#1B3993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1B3993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3993
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3993#FFFFFF#000000##FFFFFF
##1B39931.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3993;
/* rgb */ color: rgb(27, 57, 147);
/* oklch */ color: oklch(38.4% 0.153 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d6fb3',
    500: '#1b3993',
    950: '#000000',
  },
}
SCSS
$custom: #1b3993;
$custom-light: #6d6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3993",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 225,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.15251,
    "h": 265.4
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#1B3993
secondary
#C0A24A
accent
#C03CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3993

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

Preview Lab → · Contrast checker → · Palette generator →

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