#1B3D9A#1B3D9A

#1B3D9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.157 H 264.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1B3D9A
RGBrgb(27, 61, 154)
HSLhsl(224, 70%, 35%)
HSVhsv(224, 82%, 60%)
CMYKcmyk(82.5%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.17, 24.00, -54.10)
CIE-LCHlch(29.17, 59.19, 293.92°)
OKLaboklab(39.82% -0.0144 -0.1564)
OKLCHoklch(39.82% 0.157 264.7)
XYZxyz(7.9514, 5.9026, 31.2858)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D9A #9A781B
analogous
#1B7C9A #1B3D9A #381B9A
triadic
#1B3D9A #9A1B3D #3D9A1B
tetradic
#1B3D9A #9A1B7C #9A781B #1B9A38
square
#1B3D9A #9A1B7C #9A781B #1B9A38
split-complementary
#1B3D9A #9A381B #7C9A1B
monochromatic
#091432 #122866 #1B3D9A #2452CE #4F76E0

Accessibility & contrast

On white

9.63
#1B3D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B3D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D9A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D9A#FFFFFF#000000##FFFFFF
##1B3D9A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3d9a;
/* rgb */ color: rgb(27, 61, 154);
/* oklch */ color: oklch(39.8% 0.157 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e72b9',
    500: '#1b3d9a',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d9a;
$custom-light: #6e72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d9a",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 223.937,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.15711,
    "h": 264.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#1B3D9A
secondary
#C3A34E
accent
#BD3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1B3D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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