#1B3B8A#1B3B8A

#1B3B8A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.137 H 264.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#1B3B8A
RGBrgb(27, 59, 138)
HSLhsl(223, 67%, 32%)
HSVhsv(223, 80%, 54%)
CMYKcmyk(80.4%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.28, 18.96, -47.34)
CIE-LCHlch(27.28, 51.00, 291.83°)
OKLaboklab(38% -0.0139 -0.1366)
OKLCHoklch(38% 0.137 264.2)
XYZxyz(6.6018, 5.1952, 24.6947)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3B8A #8A6A1B
analogous
#1B728A #1B3B8A #331B8A
triadic
#1B3B8A #8A1B3B #3B8A1B
tetradic
#1B3B8A #8A1B72 #8A6A1B #1B8A33
square
#1B3B8A #8A1B72 #8A6A1B #1B8A33
split-complementary
#1B3B8A #8A331B #728A1B
monochromatic
#070F24 #112557 #1B3B8A #2551BD #4570DB

Accessibility & contrast

On white

10.30
#1B3B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1B3B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3B8A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3B8A#FFFFFF#000000##FFFFFF
##1B3B8A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3b8a;
/* rgb */ color: rgb(27, 59, 138);
/* oklch */ color: oklch(38.0% 0.137 264.2);
Tailwind
colors: {
  custom: {
    50: '#6a70ad',
    500: '#1b3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b3b8a;
$custom-light: #6a70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3b8a",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 222.703,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37996,
    "c": 0.13732,
    "h": 264.2
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#1B3B8A
secondary
#BC9A45
accent
#B83EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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