#1B3DA1#1B3DA1

#1B3DA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.167 H 265.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1B3DA1
RGBrgb(27, 61, 161)
HSLhsl(225, 71%, 37%)
HSVhsv(225, 83%, 63%)
CMYKcmyk(83.2%, 62.1%, 0%, 36.9%)
CIE-LABlab(29.77, 26.76, -57.36)
CIE-LCHlch(29.77, 63.30, 295.01°)
OKLaboklab(40.46% -0.0143 -0.166)
OKLCHoklch(40.46% 0.167 265.1)
XYZxyz(8.5515, 6.1427, 34.4463)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3DA1 #A17F1B
analogous
#1B80A1 #1B3DA1 #3C1BA1
triadic
#1B3DA1 #A11B3D #3DA11B
tetradic
#1B3DA1 #A11B80 #A17F1B #1BA13C
square
#1B3DA1 #A11B80 #A17F1B #1BA13C
split-complementary
#1B3DA1 #A13C1B #80A11B
monochromatic
#091538 #12296D #1B3DA1 #2451D5 #5478E2

Accessibility & contrast

On white

9.42
#1B3DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B3DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3DA1
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3DA1#FFFFFF#000000##FFFFFF
##1B3DA11.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b3da1;
/* rgb */ color: rgb(27, 61, 161);
/* oklch */ color: oklch(40.5% 0.167 265.1);
Tailwind
colors: {
  custom: {
    50: '#7072be',
    500: '#1b3da1',
    950: '#000000',
  },
}
SCSS
$custom: #1b3da1;
$custom-light: #7072be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3da1",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 224.776,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.16661,
    "h": 265.1
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#1B3DA1
secondary
#C5A852
accent
#C03AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B3DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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