#1B3B8D#1B3B8D

#1B3B8D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.142 H 264.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#1B3B8D
RGBrgb(27, 59, 141)
HSLhsl(223, 68%, 33%)
HSVhsv(223, 81%, 55%)
CMYKcmyk(80.9%, 58.2%, 0%, 44.7%)
CIE-LABlab(27.53, 20.18, -48.80)
CIE-LCHlch(27.53, 52.81, 292.46°)
OKLaboklab(38.26% -0.0137 -0.1409)
OKLCHoklch(38.26% 0.142 264.4)
XYZxyz(6.8220, 5.2832, 25.8544)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3B8D #8D6D1B
analogous
#1B748D #1B3B8D #341B8D
triadic
#1B3B8D #8D1B3B #3B8D1B
tetradic
#1B3B8D #8D1B74 #8D6D1B #1B8D34
square
#1B3B8D #8D1B74 #8D6D1B #1B8D34
split-complementary
#1B3B8D #8D341B #748D1B
monochromatic
#071026 #11265A #1B3B8D #2550C0 #4771DC

Accessibility & contrast

On white

10.21
#1B3B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B3B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3B8D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3B8D#FFFFFF#000000##FFFFFF
##1B3B8D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3b8d;
/* rgb */ color: rgb(27, 59, 141);
/* oklch */ color: oklch(38.3% 0.142 264.4);
Tailwind
colors: {
  custom: {
    50: '#6b70af',
    500: '#1b3b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b3b8d;
$custom-light: #6b70af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3b8d",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 223.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.14157,
    "h": 264.4
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#1B3B8D
secondary
#BD9C46
accent
#BA3DEB
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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