#1B3D80#1B3D80

#1B3D80 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.120 H 262.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#1B3D80
RGBrgb(27, 61, 128)
HSLhsl(220, 65%, 30%)
HSVhsv(220, 79%, 50%)
CMYKcmyk(78.9%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.10, 13.49, -41.41)
CIE-LCHlch(27.10, 43.56, 288.05°)
OKLaboklab(37.61% -0.0165 -0.1191)
OKLCHoklch(37.61% 0.12 262.1)
XYZxyz(6.0156, 5.1283, 21.0907)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D80 #805E1B
analogous
#1B6F80 #1B3D80 #2B1B80
triadic
#1B3D80 #801B3D #3D801B
tetradic
#1B3D80 #801B6F #805E1B #1B802B
square
#1B3D80 #801B6F #805E1B #1B802B
split-complementary
#1B3D80 #802B1B #6F801B
monochromatic
#060D1B #10254D #1B3D80 #2655B3 #3F72D6

Accessibility & contrast

On white

10.37
#1B3D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B3D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D80
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D80#FFFFFF#000000##FFFFFF
##1B3D801.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134582
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3d80;
/* rgb */ color: rgb(27, 61, 128);
/* oklch */ color: oklch(37.6% 0.120 262.1);
Tailwind
colors: {
  custom: {
    50: '#6871a5',
    500: '#1b3d80',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d80;
$custom-light: #6871a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d80",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 219.802,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.12028,
    "h": 262.1
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#1B3D80
secondary
#B48E43
accent
#AF40E8
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3D80

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

Preview Lab → · Contrast checker → · Palette generator →

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