#1B3D9F#1B3D9F

#1B3D9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.164 H 265.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#1B3D9F
RGBrgb(27, 61, 159)
HSLhsl(225, 71%, 36%)
HSVhsv(225, 83%, 62%)
CMYKcmyk(83%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.60, 25.98, -56.44)
CIE-LCHlch(29.60, 62.13, 294.71°)
OKLaboklab(40.28% -0.0143 -0.1633)
OKLCHoklch(40.28% 0.164 265)
XYZxyz(8.3765, 6.0727, 33.5248)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D9F #9F7D1B
analogous
#1B7F9F #1B3D9F #3B1B9F
triadic
#1B3D9F #9F1B3D #3D9F1B
tetradic
#1B3D9F #9F1B7F #9F7D1B #1B9F3B
square
#1B3D9F #9F1B7F #9F7D1B #1B9F3B
split-complementary
#1B3D9F #9F3B1B #7F9F1B
monochromatic
#091536 #12296B #1B3D9F #2451D3 #5378E2

Accessibility & contrast

On white

9.48
#1B3D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B3D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D9F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D9F#FFFFFF#000000##FFFFFF
##1B3D9F1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b3d9f;
/* rgb */ color: rgb(27, 61, 159);
/* oklch */ color: oklch(40.3% 0.164 265.0);
Tailwind
colors: {
  custom: {
    50: '#7072bc',
    500: '#1b3d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d9f;
$custom-light: #7072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d9f",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 224.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.16392,
    "h": 265
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#1B3D9F
secondary
#C5A751
accent
#BF3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B3D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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