#1B4183#1B4183

#1B4183 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.119 H 260.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#1B4183
RGBrgb(27, 65, 131)
HSLhsl(218, 66%, 31%)
HSVhsv(218, 79%, 51%)
CMYKcmyk(79.4%, 50.4%, 0%, 48.6%)
CIE-LABlab(28.52, 11.93, -41.00)
CIE-LCHlch(28.52, 42.70, 286.23°)
OKLaboklab(38.77% -0.0195 -0.1178)
OKLCHoklch(38.77% 0.119 260.6)
XYZxyz(6.4375, 5.6516, 22.2199)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4183 #835D1B
analogous
#1B7583 #1B4183 #291B83
triadic
#1B4183 #831B41 #41831B
tetradic
#1B4183 #831B75 #835D1B #1B8329
square
#1B4183 #831B75 #835D1B #1B8329
split-complementary
#1B4183 #83291B #75831B
monochromatic
#060F1E #112850 #1B4183 #255AB6 #4178D8

Accessibility & contrast

On white

9.86
#1B4183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1B4183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4183
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4183#FFFFFF#000000##FFFFFF
##1B41831.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4183;
/* rgb */ color: rgb(27, 65, 131);
/* oklch */ color: oklch(38.8% 0.119 260.6);
Tailwind
colors: {
  custom: {
    50: '#6875a7',
    500: '#1b4183',
    950: '#000000',
  },
}
SCSS
$custom: #1b4183;
$custom-light: #6875a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4183",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 218.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.11943,
    "h": 260.6
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#1B4183
secondary
#B68C43
accent
#AB3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4183

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

Preview Lab → · Contrast checker → · Palette generator →

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