#1B3E83#1B3E83

#1B3E83 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.123 H 262.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#1B3E83
RGBrgb(27, 62, 131)
HSLhsl(220, 66%, 31%)
HSVhsv(220, 79%, 51%)
CMYKcmyk(79.4%, 52.7%, 0%, 48.6%)
CIE-LABlab(27.62, 14.02, -42.45)
CIE-LCHlch(27.62, 44.70, 288.28°)
OKLaboklab(38.08% -0.017 -0.1222)
OKLCHoklch(38.08% 0.123 262.1)
XYZxyz(6.2699, 5.3162, 22.1640)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E83 #83601B
analogous
#1B7283 #1B3E83 #2C1B83
triadic
#1B3E83 #831B3E #3E831B
tetradic
#1B3E83 #831B72 #83601B #1B832C
square
#1B3E83 #831B72 #83601B #1B832C
split-complementary
#1B3E83 #832C1B #72831B
monochromatic
#060E1E #112650 #1B3E83 #2556B6 #4173D8

Accessibility & contrast

On white

10.18
#1B3E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3E83
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E83#FFFFFF#000000##FFFFFF
##1B3E831.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124685
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3e83;
/* rgb */ color: rgb(27, 62, 131);
/* oklch */ color: oklch(38.1% 0.123 262.1);
Tailwind
colors: {
  custom: {
    50: '#6872a8',
    500: '#1b3e83',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e83;
$custom-light: #6872a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e83",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 219.808,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.12333,
    "h": 262.1
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#1B3E83
secondary
#B69043
accent
#B03FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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