#1B4D8B#1B4D8B

#1B4D8B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.116 H 255.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1B4D8B
RGBrgb(27, 77, 139)
HSLhsl(213, 67%, 33%)
HSVhsv(213, 81%, 55%)
CMYKcmyk(80.6%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.71, 7.00, -39.20)
CIE-LCHlch(32.71, 39.82, 280.12°)
OKLaboklab(42.17% -0.0285 -0.1123)
OKLCHoklch(42.17% 0.116 255.8)
XYZxyz(7.7643, 7.4039, 25.4410)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D8B #8B591B
analogous
#1B858B #1B4D8B #211B8B
triadic
#1B4D8B #8B1B4D #4D8B1B
tetradic
#1B4D8B #8B1B85 #8B591B #1B8B21
square
#1B4D8B #8B1B85 #8B591B #1B8B21
split-complementary
#1B4D8B #8B211B #858B1B
monochromatic
#071425 #113158 #1B4D8B #2569BE #4588DB

Accessibility & contrast

On white

8.46
#1B4D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4D8B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D8B#FFFFFF#000000##FFFFFF
##1B4D8B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4d8b;
/* rgb */ color: rgb(27, 77, 139);
/* oklch */ color: oklch(42.2% 0.116 255.8);
Tailwind
colors: {
  custom: {
    50: '#6a7ead',
    500: '#1b4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d8b;
$custom-light: #6a7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d8b",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 213.214,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42173,
    "c": 0.11586,
    "h": 255.8
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#1B4D8B
secondary
#BC8745
accent
#9D3DEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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