#1B4B7B#1B4B7B

#1B4B7B is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.096 H 251.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#1B4B7B
RGBrgb(27, 75, 123)
HSLhsl(210, 64%, 29%)
HSVhsv(210, 78%, 48%)
CMYKcmyk(78%, 39%, 0%, 51.8%)
CIE-LABlab(31.10, 1.89, -31.88)
CIE-LCHlch(31.10, 31.93, 273.39°)
OKLaboklab(40.6% -0.0305 -0.0908)
OKLCHoklch(40.6% 0.096 251.4)
XYZxyz(6.5419, 6.6945, 19.6824)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B7B #7B4B1B
analogous
#1B7B7B #1B4B7B #1B1B7B
triadic
#1B4B7B #7B1B4B #4B7B1B
tetradic
#1B4B7B #7B1B7B #7B4B1B #1B7B1B
square
#1B4B7B #7B1B7B #7B4B1B #1B7B1B
split-complementary
#1B4B7B #7B1B1B #7B7B1B
monochromatic
#060F19 #102C49 #1B4B7B #266AAD #3C88D4

Accessibility & contrast

On white

8.98
#1B4B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1B4B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B7B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B7B#FFFFFF#000000##FFFFFF
##1B4B7B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4b7b;
/* rgb */ color: rgb(27, 75, 123);
/* oklch */ color: oklch(40.6% 0.096 251.4);
Tailwind
colors: {
  custom: {
    50: '#667ca1',
    500: '#1b4b7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b7b;
$custom-light: #667ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b7b",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 123
  },
  "hsl": {
    "h": 210,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.09582,
    "h": 251.4
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#1B4B7B
secondary
#AF7943
accent
#9441E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1B4B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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