#1B3690#1B3690

#1B3690 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.152 H 266.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#1B3690
RGBrgb(27, 54, 144)
HSLhsl(226, 68%, 34%)
HSVhsv(226, 81%, 56%)
CMYKcmyk(81.3%, 62.5%, 0%, 43.5%)
CIE-LABlab(26.40, 24.83, -52.49)
CIE-LCHlch(26.40, 58.07, 295.32°)
OKLaboklab(37.49% -0.0103 -0.1518)
OKLCHoklch(37.49% 0.152 266.1)
XYZxyz(6.8034, 4.8842, 26.9643)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3690 #90751B
analogous
#1B7090 #1B3690 #3A1B90
triadic
#1B3690 #901B36 #36901B
tetradic
#1B3690 #901B70 #90751B #1B903A
square
#1B3690 #901B70 #90751B #1B903A
split-complementary
#1B3690 #903A1B #70901B
monochromatic
#080F29 #11235C #1B3690 #2549C4 #496BDD

Accessibility & contrast

On white

10.62
#1B3690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B3690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3690
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3690#FFFFFF#000000##FFFFFF
##1B36901.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3690;
/* rgb */ color: rgb(27, 54, 144);
/* oklch */ color: oklch(37.5% 0.152 266.1);
Tailwind
colors: {
  custom: {
    50: '#6c6cb1',
    500: '#1b3690',
    950: '#000000',
  },
}
SCSS
$custom: #1b3690;
$custom-light: #6c6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3690",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 144
  },
  "hsl": {
    "h": 226.154,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.15215,
    "h": 266.1
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#1B3690
secondary
#BFA348
accent
#C33DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3690

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

Preview Lab → · Contrast checker → · Palette generator →

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