#1B3783#1B3783

#1B3783 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.133 H 265.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#1B3783
RGBrgb(27, 55, 131)
HSLhsl(224, 66%, 31%)
HSVhsv(224, 79%, 51%)
CMYKcmyk(79.4%, 58%, 0%, 48.6%)
CIE-LABlab(25.57, 18.93, -45.76)
CIE-LCHlch(25.57, 49.52, 292.47°)
OKLaboklab(36.53% -0.0114 -0.132)
OKLCHoklch(36.53% 0.133 265.1)
XYZxyz(5.9135, 4.6034, 22.0452)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3783 #83671B
analogous
#1B6B83 #1B3783 #331B83
triadic
#1B3783 #831B37 #37831B
tetradic
#1B3783 #831B6B #83671B #1B8333
square
#1B3783 #831B6B #83671B #1B8333
split-complementary
#1B3783 #83331B #6B831B
monochromatic
#060C1E #112250 #1B3783 #254CB6 #4169D8

Accessibility & contrast

On white

10.93
#1B3783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B3783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3783
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3783#FFFFFF#000000##FFFFFF
##1B37831.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3783;
/* rgb */ color: rgb(27, 55, 131);
/* oklch */ color: oklch(36.5% 0.133 265.1);
Tailwind
colors: {
  custom: {
    50: '#696da8',
    500: '#1b3783',
    950: '#000000',
  },
}
SCSS
$custom: #1b3783;
$custom-light: #696da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3783",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 223.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.13253,
    "h": 265.1
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#1B3783
secondary
#B69743
accent
#BB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3783

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

Preview Lab → · Contrast checker → · Palette generator →

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