#1B3E85#1B3E85

#1B3E85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.2% C 0.126 H 262.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#1B3E85
RGBrgb(27, 62, 133)
HSLhsl(220, 66%, 31%)
HSVhsv(220, 80%, 52%)
CMYKcmyk(79.7%, 53.4%, 0%, 47.8%)
CIE-LABlab(27.77, 14.84, -43.45)
CIE-LCHlch(27.77, 45.92, 288.85°)
OKLaboklab(38.24% -0.0167 -0.1251)
OKLCHoklch(38.24% 0.126 262.4)
XYZxyz(6.4067, 5.3710, 22.8848)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E85 #85621B
analogous
#1B7385 #1B3E85 #2D1B85
triadic
#1B3E85 #851B3E #3E851B
tetradic
#1B3E85 #851B73 #85621B #1B852D
square
#1B3E85 #851B73 #85621B #1B852D
split-complementary
#1B3E85 #852D1B #73851B
monochromatic
#060F1F #112652 #1B3E85 #2556B8 #4274D9

Accessibility & contrast

On white

10.12
#1B3E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1B3E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E85
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E85#FFFFFF#000000##FFFFFF
##1B3E851.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4788
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3e85;
/* rgb */ color: rgb(27, 62, 133);
/* oklch */ color: oklch(38.2% 0.126 262.4);
Tailwind
colors: {
  custom: {
    50: '#6972a9',
    500: '#1b3e85',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e85;
$custom-light: #6972a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e85",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 220.189,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38239,
    "c": 0.12623,
    "h": 262.4
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#1B3E85
secondary
#B89244
accent
#B13FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3E85

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

Preview Lab → · Contrast checker → · Palette generator →

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