#1B3696#1B3696

#1B3696 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.160 H 266.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#1B3696
RGBrgb(27, 54, 150)
HSLhsl(227, 69%, 35%)
HSVhsv(227, 82%, 59%)
CMYKcmyk(82%, 64%, 0%, 41.2%)
CIE-LABlab(26.94, 27.20, -55.30)
CIE-LCHlch(26.94, 61.62, 296.19°)
OKLaboklab(38.06% -0.0103 -0.16)
OKLCHoklch(38.06% 0.16 266.3)
XYZxyz(7.2742, 5.0725, 29.4440)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3696 #967B1B
analogous
#1B7496 #1B3696 #3D1B96
triadic
#1B3696 #961B36 #36961B
tetradic
#1B3696 #961B74 #967B1B #1B963D
square
#1B3696 #961B74 #967B1B #1B963D
split-complementary
#1B3696 #963D1B #74961B
monochromatic
#08112E #122362 #1B3696 #2449CA #4D6DDF

Accessibility & contrast

On white

10.42
#1B3696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3696
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3696#FFFFFF#000000##FFFFFF
##1B36961.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3696;
/* rgb */ color: rgb(27, 54, 150);
/* oklch */ color: oklch(38.1% 0.160 266.3);
Tailwind
colors: {
  custom: {
    50: '#6e6cb6',
    500: '#1b3696',
    950: '#000000',
  },
}
SCSS
$custom: #1b3696;
$custom-light: #6e6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3696",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 226.829,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38059,
    "c": 0.16036,
    "h": 266.3
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#1B3696
secondary
#C1A74C
accent
#C53BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3696

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

Preview Lab → · Contrast checker → · Palette generator →

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