#1B3D83#1B3D83

#1B3D83 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.125 H 262.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#1B3D83
RGBrgb(27, 61, 131)
HSLhsl(220, 66%, 31%)
HSVhsv(220, 79%, 51%)
CMYKcmyk(79.4%, 53.4%, 0%, 48.6%)
CIE-LABlab(27.32, 14.72, -42.93)
CIE-LCHlch(27.32, 45.38, 288.93°)
OKLaboklab(37.85% -0.0161 -0.1236)
OKLCHoklch(37.85% 0.125 262.6)
XYZxyz(6.2160, 5.2085, 22.1461)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D83 #83611B
analogous
#1B7183 #1B3D83 #2D1B83
triadic
#1B3D83 #831B3D #3D831B
tetradic
#1B3D83 #831B71 #83611B #1B832D
square
#1B3D83 #831B71 #83611B #1B832D
split-complementary
#1B3D83 #832D1B #71831B
monochromatic
#060E1E #112550 #1B3D83 #2555B6 #4172D8

Accessibility & contrast

On white

10.29
#1B3D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3D83
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D83#FFFFFF#000000##FFFFFF
##1B3D831.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3d83;
/* rgb */ color: rgb(27, 61, 131);
/* oklch */ color: oklch(37.9% 0.125 262.6);
Tailwind
colors: {
  custom: {
    50: '#6871a8',
    500: '#1b3d83',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d83;
$custom-light: #6871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d83",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 220.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37852,
    "c": 0.12464,
    "h": 262.6
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#1B3D83
secondary
#B69143
accent
#B13FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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