#1B4081#1B4081

#1B4081 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.118 H 260.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#1B4081
RGBrgb(27, 64, 129)
HSLhsl(218, 65%, 31%)
HSVhsv(218, 79%, 51%)
CMYKcmyk(79.1%, 50.4%, 0%, 49.4%)
CIE-LABlab(28.07, 11.81, -40.47)
CIE-LCHlch(28.07, 42.16, 286.27°)
OKLaboklab(38.38% -0.019 -0.1163)
OKLCHoklch(38.38% 0.118 260.7)
XYZxyz(6.2464, 5.4841, 21.4939)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4081 #815C1B
analogous
#1B7381 #1B4081 #291B81
triadic
#1B4081 #811B40 #40811B
tetradic
#1B4081 #811B73 #815C1B #1B8129
square
#1B4081 #811B73 #815C1B #1B8129
split-complementary
#1B4081 #81291B #73811B
monochromatic
#060E1C #10274E #1B4081 #2659B4 #3F76D7

Accessibility & contrast

On white

10.01
#1B4081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1B4081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4081
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4081#FFFFFF#000000##FFFFFF
##1B40811.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4783
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b4081;
/* rgb */ color: rgb(27, 64, 129);
/* oklch */ color: oklch(38.4% 0.118 260.7);
Tailwind
colors: {
  custom: {
    50: '#6874a6',
    500: '#1b4081',
    950: '#000000',
  },
}
SCSS
$custom: #1b4081;
$custom-light: #6874a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4081",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 218.235,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.11783,
    "h": 260.7
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#1B4081
secondary
#B58B43
accent
#AB3FE8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4081

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

Preview Lab → · Contrast checker → · Palette generator →

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