#1B4D7D#1B4D7D

#1B4D7D is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.096 H 250.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1B4D7D
RGBrgb(27, 77, 125)
HSLhsl(209, 64%, 30%)
HSVhsv(209, 78%, 49%)
CMYKcmyk(78.4%, 38.4%, 0%, 51%)
CIE-LABlab(31.85, 1.36, -31.93)
CIE-LCHlch(31.85, 31.95, 272.45°)
OKLaboklab(41.23% -0.0319 -0.0909)
OKLCHoklch(41.23% 0.096 250.6)
XYZxyz(6.8061, 7.0206, 20.3945)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D7D #7D4B1B
analogous
#1B7D7C #1B4D7D #1B1C7D
triadic
#1B4D7D #7D1B4D #4D7D1B
tetradic
#1B4D7D #7C1B7D #7D4B1B #1C7D1B
square
#1B4D7D #7C1B7D #7D4B1B #1C7D1B
split-complementary
#1B4D7D #7D1B1C #7D7C1B
monochromatic
#051019 #102E4B #1B4D7D #266CAF #3D8BD5

Accessibility & contrast

On white

8.73
#1B4D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1B4D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D7D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D7D#FFFFFF#000000##FFFFFF
##1B4D7D1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4d7d;
/* rgb */ color: rgb(27, 77, 125);
/* oklch */ color: oklch(41.2% 0.096 250.6);
Tailwind
colors: {
  custom: {
    50: '#677ea3',
    500: '#1b4d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d7d;
$custom-light: #677ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d7d",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 209.388,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.09639,
    "h": 250.6
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#1B4D7D
secondary
#B17943
accent
#9240E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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