#1B4F7D#1B4F7D

#1B4F7D is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.094 H 248.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1B4F7D
RGBrgb(27, 79, 125)
HSLhsl(208, 64%, 30%)
HSVhsv(208, 78%, 49%)
CMYKcmyk(78.4%, 36.8%, 0%, 51%)
CIE-LABlab(32.49, 0.05, -30.92)
CIE-LCHlch(32.49, 30.92, 270.10°)
OKLaboklab(41.73% -0.0339 -0.0879)
OKLCHoklch(41.73% 0.094 248.9)
XYZxyz(6.9482, 7.3048, 20.4418)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F7D #7D491B
analogous
#1B7D7A #1B4F7D #1B1E7D
triadic
#1B4F7D #7D1B4F #4F7D1B
tetradic
#1B4F7D #7A1B7D #7D491B #1E7D1B
square
#1B4F7D #7A1B7D #7D491B #1E7D1B
split-complementary
#1B4F7D #7D1B1E #7D7A1B
monochromatic
#051019 #102F4B #1B4F7D #266FAF #3D8ED5

Accessibility & contrast

On white

8.53
#1B4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1B4F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F7D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F7D#FFFFFF#000000##FFFFFF
##1B4F7D1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4f7d;
/* rgb */ color: rgb(27, 79, 125);
/* oklch */ color: oklch(41.7% 0.094 248.9);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1b4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f7d;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f7d",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 208.163,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.09426,
    "h": 248.9
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#1B4F7D
secondary
#B17743
accent
#8F40E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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