#1B3694#1B3694

#1B3694 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.158 H 266.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1B3694
RGBrgb(27, 54, 148)
HSLhsl(227, 69%, 34%)
HSVhsv(227, 82%, 58%)
CMYKcmyk(81.8%, 63.5%, 0%, 42%)
CIE-LABlab(26.76, 26.41, -54.37)
CIE-LCHlch(26.76, 60.44, 295.91°)
OKLaboklab(37.87% -0.0103 -0.1573)
OKLCHoklch(37.87% 0.158 266.3)
XYZxyz(7.1146, 5.0086, 28.6030)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3694 #94791B
analogous
#1B7394 #1B3694 #3D1B94
triadic
#1B3694 #941B36 #36941B
tetradic
#1B3694 #941B73 #94791B #1B943D
square
#1B3694 #941B73 #94791B #1B943D
split-complementary
#1B3694 #943D1B #73941B
monochromatic
#08102C #122360 #1B3694 #2449C8 #4B6CDE

Accessibility & contrast

On white

10.49
#1B3694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B3694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3694
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3694#FFFFFF#000000##FFFFFF
##1B36941.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3694;
/* rgb */ color: rgb(27, 54, 148);
/* oklch */ color: oklch(37.9% 0.158 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cb4',
    500: '#1b3694',
    950: '#000000',
  },
}
SCSS
$custom: #1b3694;
$custom-light: #6d6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3694",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 226.612,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.15764,
    "h": 266.3
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#1B3694
secondary
#C0A64B
accent
#C53CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3694

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

Preview Lab → · Contrast checker → · Palette generator →

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