#1B4B7D#1B4B7D

#1B4B7D is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.099 H 252.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#1B4B7D
RGBrgb(27, 75, 125)
HSLhsl(211, 64%, 30%)
HSVhsv(211, 78%, 49%)
CMYKcmyk(78.4%, 40%, 0%, 51%)
CIE-LABlab(31.22, 2.69, -32.93)
CIE-LCHlch(31.22, 33.04, 274.67°)
OKLaboklab(40.73% -0.03 -0.0939)
OKLCHoklch(40.73% 0.099 252.3)
XYZxyz(6.6684, 6.7451, 20.3485)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B7D #7D4D1B
analogous
#1B7C7D #1B4B7D #1C1B7D
triadic
#1B4B7D #7D1B4B #4B7D1B
tetradic
#1B4B7D #7D1B7C #7D4D1B #1B7D1C
square
#1B4B7D #7D1B7C #7D4D1B #1B7D1C
split-complementary
#1B4B7D #7D1C1B #7C7D1B
monochromatic
#050F19 #102D4B #1B4B7D #2669AF #3D88D5

Accessibility & contrast

On white

8.94
#1B4B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B4B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B7D
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B7D#FFFFFF#000000##FFFFFF
##1B4B7D1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4b7d;
/* rgb */ color: rgb(27, 75, 125);
/* oklch */ color: oklch(40.7% 0.099 252.3);
Tailwind
colors: {
  custom: {
    50: '#677ca3',
    500: '#1b4b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b7d;
$custom-light: #677ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b7d",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 210.612,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.0986,
    "h": 252.3
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#1B4B7D
secondary
#B17B43
accent
#9640E7
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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