#1B3E8D#1B3E8D

#1B3E8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.138 H 263.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1B3E8D
RGBrgb(27, 62, 141)
HSLhsl(222, 68%, 33%)
HSVhsv(222, 81%, 55%)
CMYKcmyk(80.9%, 56%, 0%, 44.7%)
CIE-LABlab(28.38, 18.09, -47.41)
CIE-LCHlch(28.38, 50.75, 290.88°)
OKLaboklab(38.9% -0.0159 -0.1368)
OKLCHoklch(38.9% 0.138 263.4)
XYZxyz(6.9806, 5.6005, 25.9072)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E8D #8D6A1B
analogous
#1B778D #1B3E8D #311B8D
triadic
#1B3E8D #8D1B3E #3E8D1B
tetradic
#1B3E8D #8D1B77 #8D6A1B #1B8D31
square
#1B3E8D #8D1B77 #8D6A1B #1B8D31
split-complementary
#1B3E8D #8D311B #778D1B
monochromatic
#071126 #11275A #1B3E8D #2555C0 #4774DC

Accessibility & contrast

On white

9.90
#1B3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1B3E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E8D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E8D#FFFFFF#000000##FFFFFF
##1B3E8D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3e8d;
/* rgb */ color: rgb(27, 62, 141);
/* oklch */ color: oklch(38.9% 0.138 263.4);
Tailwind
colors: {
  custom: {
    50: '#6b72af',
    500: '#1b3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e8d;
$custom-light: #6b72af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e8d",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 221.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.389,
    "c": 0.13768,
    "h": 263.4
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#1B3E8D
secondary
#BD9946
accent
#B53DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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