#1B4B8A#1B4B8A

#1B4B8A is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.6% C 0.117 H 256.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1B4B8A
RGBrgb(27, 75, 138)
HSLhsl(214, 67%, 32%)
HSVhsv(214, 80%, 54%)
CMYKcmyk(80.4%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.03, 7.94, -39.67)
CIE-LCHlch(32.03, 40.46, 281.31°)
OKLaboklab(41.63% -0.0269 -0.1137)
OKLCHoklch(41.63% 0.117 256.7)
XYZxyz(7.5538, 7.0993, 25.0120)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B8A #8A5A1B
analogous
#1B838A #1B4B8A #221B8A
triadic
#1B4B8A #8A1B4B #4B8A1B
tetradic
#1B4B8A #8A1B83 #8A5A1B #1B8A22
square
#1B4B8A #8A1B83 #8A5A1B #1B8A22
split-complementary
#1B4B8A #8A221B #838A1B
monochromatic
#071324 #112F57 #1B4B8A #2567BD #4586DB

Accessibility & contrast

On white

8.68
#1B4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1B4B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B8A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B8A#FFFFFF#000000##FFFFFF
##1B4B8A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4b8a;
/* rgb */ color: rgb(27, 75, 138);
/* oklch */ color: oklch(41.6% 0.117 256.7);
Tailwind
colors: {
  custom: {
    50: '#6a7cac',
    500: '#1b4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b8a;
$custom-light: #6a7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b8a",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 214.054,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.11687,
    "h": 256.7
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#1B4B8A
secondary
#BC8845
accent
#A03EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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