#1B3D8D#1B3D8D

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

Color values

HEX#1B3D8D
RGBrgb(27, 61, 141)
HSLhsl(222, 68%, 33%)
HSVhsv(222, 81%, 55%)
CMYKcmyk(80.9%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.09, 18.78, -47.88)
CIE-LCHlch(28.09, 51.43, 291.42°)
OKLaboklab(38.68% -0.0152 -0.1381)
OKLCHoklch(38.68% 0.139 263.7)
XYZxyz(6.9267, 5.4928, 25.8893)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D8D #8D6B1B
analogous
#1B768D #1B3D8D #321B8D
triadic
#1B3D8D #8D1B3D #3D8D1B
tetradic
#1B3D8D #8D1B76 #8D6B1B #1B8D32
square
#1B3D8D #8D1B76 #8D6B1B #1B8D32
split-complementary
#1B3D8D #8D321B #768D1B
monochromatic
#071126 #11275A #1B3D8D #2553C0 #4773DC

Accessibility & contrast

On white

10.01
#1B3D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3D8D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D8D#FFFFFF#000000##FFFFFF
##1B3D8D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3d8d;
/* rgb */ color: rgb(27, 61, 141);
/* oklch */ color: oklch(38.7% 0.139 263.7);
Tailwind
colors: {
  custom: {
    50: '#6b71af',
    500: '#1b3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d8d;
$custom-light: #6b71af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d8d",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 222.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38684,
    "c": 0.13898,
    "h": 263.7
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#1B3D8D
secondary
#BD9A46
accent
#B73DEB
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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