#1B3A92#1B3A92

#1B3A92 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.150 H 265.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#1B3A92
RGBrgb(27, 58, 146)
HSLhsl(224, 69%, 34%)
HSVhsv(224, 82%, 57%)
CMYKcmyk(81.5%, 60.3%, 0%, 42.7%)
CIE-LABlab(27.66, 22.87, -51.66)
CIE-LCHlch(27.66, 56.50, 293.88°)
OKLaboklab(38.49% -0.0128 -0.1493)
OKLCHoklch(38.49% 0.15 265.1)
XYZxyz(7.1515, 5.3336, 27.8411)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A92 #92731B
analogous
#1B7692 #1B3A92 #381B92
triadic
#1B3A92 #921B3A #3A921B
tetradic
#1B3A92 #921B76 #92731B #1B9238
square
#1B3A92 #921B76 #92731B #1B9238
split-complementary
#1B3A92 #92381B #76921B
monochromatic
#08112B #11255E #1B3A92 #254FC6 #4A70DE

Accessibility & contrast

On white

10.16
#1B3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1B3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A92
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A92#FFFFFF#000000##FFFFFF
##1B3A921.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3a92;
/* rgb */ color: rgb(27, 58, 146);
/* oklch */ color: oklch(38.5% 0.150 265.1);
Tailwind
colors: {
  custom: {
    50: '#6d6fb3',
    500: '#1b3a92',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a92;
$custom-light: #6d6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a92",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 224.37,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.14986,
    "h": 265.1
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#1B3A92
secondary
#BFA149
accent
#BE3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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