#1B4D8A#1B4D8A

#1B4D8A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.114 H 255.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1B4D8A
RGBrgb(27, 77, 138)
HSLhsl(213, 67%, 32%)
HSVhsv(213, 80%, 54%)
CMYKcmyk(80.4%, 44.2%, 0%, 45.9%)
CIE-LABlab(32.65, 6.59, -38.69)
CIE-LCHlch(32.65, 39.25, 279.67°)
OKLaboklab(42.1% -0.0287 -0.1108)
OKLCHoklch(42.1% 0.114 255.5)
XYZxyz(7.6916, 7.3748, 25.0579)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D8A #8A581B
analogous
#1B858A #1B4D8A #201B8A
triadic
#1B4D8A #8A1B4D #4D8A1B
tetradic
#1B4D8A #8A1B85 #8A581B #1B8A20
square
#1B4D8A #8A1B85 #8A581B #1B8A20
split-complementary
#1B4D8A #8A201B #858A1B
monochromatic
#071424 #113057 #1B4D8A #256ABD #4588DB

Accessibility & contrast

On white

8.48
#1B4D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1B4D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D8A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D8A#FFFFFF#000000##FFFFFF
##1B4D8A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4d8a;
/* rgb */ color: rgb(27, 77, 138);
/* oklch */ color: oklch(42.1% 0.114 255.5);
Tailwind
colors: {
  custom: {
    50: '#6a7eac',
    500: '#1b4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d8a;
$custom-light: #6a7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d8a",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 212.973,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.11446,
    "h": 255.5
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#1B4D8A
secondary
#BC8645
accent
#9C3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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