#1B3E8A#1B3E8A

#1B3E8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.133 H 263.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#1B3E8A
RGBrgb(27, 62, 138)
HSLhsl(221, 67%, 32%)
HSVhsv(221, 80%, 54%)
CMYKcmyk(80.4%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.15, 16.87, -45.94)
CIE-LCHlch(28.15, 48.94, 290.17°)
OKLaboklab(38.65% -0.0162 -0.1324)
OKLCHoklch(38.65% 0.133 263)
XYZxyz(6.7604, 5.5125, 24.7475)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E8A #8A671B
analogous
#1B768A #1B3E8A #2F1B8A
triadic
#1B3E8A #8A1B3E #3E8A1B
tetradic
#1B3E8A #8A1B76 #8A671B #1B8A2F
square
#1B3E8A #8A1B76 #8A671B #1B8A2F
split-complementary
#1B3E8A #8A2F1B #768A1B
monochromatic
#071024 #112757 #1B3E8A #2555BD #4574DB

Accessibility & contrast

On white

9.99
#1B3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1B3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E8A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E8A#FFFFFF#000000##FFFFFF
##1B3E8A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3e8a;
/* rgb */ color: rgb(27, 62, 138);
/* oklch */ color: oklch(38.6% 0.133 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a72ad',
    500: '#1b3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e8a;
$custom-light: #6a72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e8a",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 221.081,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.13341,
    "h": 263
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#1B3E8A
secondary
#BC9645
accent
#B43EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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