#1B4B8B#1B4B8B

#1B4B8B is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.7% C 0.118 H 256.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1B4B8B
RGBrgb(27, 75, 139)
HSLhsl(214, 67%, 33%)
HSVhsv(214, 81%, 55%)
CMYKcmyk(80.6%, 46%, 0%, 45.5%)
CIE-LABlab(32.10, 8.34, -40.18)
CIE-LCHlch(32.10, 41.04, 281.73°)
OKLaboklab(41.7% -0.0267 -0.1152)
OKLCHoklch(41.7% 0.118 256.9)
XYZxyz(7.6266, 7.1283, 25.3950)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B8B #8B5B1B
analogous
#1B838B #1B4B8B #231B8B
triadic
#1B4B8B #8B1B4B #4B8B1B
tetradic
#1B4B8B #8B1B83 #8B5B1B #1B8B23
square
#1B4B8B #8B1B83 #8B5B1B #1B8B23
split-complementary
#1B4B8B #8B231B #838B1B
monochromatic
#071425 #112F58 #1B4B8B #2567BE #4586DB

Accessibility & contrast

On white

8.66
#1B4B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B4B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B8B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B8B#FFFFFF#000000##FFFFFF
##1B4B8B1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#11478A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4b8b;
/* rgb */ color: rgb(27, 75, 139);
/* oklch */ color: oklch(41.7% 0.118 256.9);
Tailwind
colors: {
  custom: {
    50: '#6a7cad',
    500: '#1b4b8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b8b;
$custom-light: #6a7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b8b",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 214.286,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.11829,
    "h": 256.9
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#1B4B8B
secondary
#BC8945
accent
#A03DEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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