#1B3494#1B3494

#1B3494 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.160 H 266.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#1B3494
RGBrgb(27, 52, 148)
HSLhsl(228, 69%, 34%)
HSVhsv(228, 82%, 58%)
CMYKcmyk(81.8%, 64.9%, 0%, 42%)
CIE-LABlab(26.23, 27.77, -55.23)
CIE-LCHlch(26.23, 61.82, 296.70°)
OKLaboklab(37.48% -0.0091 -0.1598)
OKLCHoklch(37.48% 0.16 266.7)
XYZxyz(7.0234, 4.8263, 28.5726)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3494 #947B1B
analogous
#1B7194 #1B3494 #3E1B94
triadic
#1B3494 #941B34 #34941B
tetradic
#1B3494 #941B71 #947B1B #1B943E
square
#1B3494 #941B71 #947B1B #1B943E
split-complementary
#1B3494 #943E1B #71941B
monochromatic
#08102C #122260 #1B3494 #2446C8 #4B6ADE

Accessibility & contrast

On white

10.68
#1B3494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B3494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3494
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3494#FFFFFF#000000##FFFFFF
##1B34941.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3494;
/* rgb */ color: rgb(27, 52, 148);
/* oklch */ color: oklch(37.5% 0.160 266.7);
Tailwind
colors: {
  custom: {
    50: '#6e6bb4',
    500: '#1b3494',
    950: '#000000',
  },
}
SCSS
$custom: #1b3494;
$custom-light: #6e6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3494",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 227.603,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.16011,
    "h": 266.7
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#1B3494
secondary
#C0A84B
accent
#C83CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B3494

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

Preview Lab → · Contrast checker → · Palette generator →

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