#1B3E8B#1B3E8B

#1B3E8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.135 H 263.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1B3E8B
RGBrgb(27, 62, 139)
HSLhsl(221, 67%, 33%)
HSVhsv(221, 81%, 55%)
CMYKcmyk(80.6%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.22, 17.28, -46.43)
CIE-LCHlch(28.22, 49.54, 290.41°)
OKLaboklab(38.73% -0.0161 -0.1339)
OKLCHoklch(38.73% 0.135 263.2)
XYZxyz(6.8332, 5.5415, 25.1306)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E8B #8B681B
analogous
#1B768B #1B3E8B #301B8B
triadic
#1B3E8B #8B1B3E #3E8B1B
tetradic
#1B3E8B #8B1B76 #8B681B #1B8B30
square
#1B3E8B #8B1B76 #8B681B #1B8B30
split-complementary
#1B3E8B #8B301B #768B1B
monochromatic
#071025 #112758 #1B3E8B #2555BE #4574DB

Accessibility & contrast

On white

9.96
#1B3E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B3E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E8B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E8B#FFFFFF#000000##FFFFFF
##1B3E8B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3e8b;
/* rgb */ color: rgb(27, 62, 139);
/* oklch */ color: oklch(38.7% 0.135 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a72ad',
    500: '#1b3e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e8b;
$custom-light: #6a72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e8b",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 221.25,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38732,
    "c": 0.13484,
    "h": 263.2
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#1B3E8B
secondary
#BC9745
accent
#B43DEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B3E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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