#1B4F7E#1B4F7E

#1B4F7E is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.096 H 249.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1B4F7E
RGBrgb(27, 79, 126)
HSLhsl(208, 65%, 30%)
HSVhsv(208, 79%, 49%)
CMYKcmyk(78.6%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.55, 0.45, -31.45)
CIE-LCHlch(32.55, 31.45, 270.82°)
OKLaboklab(41.79% -0.0336 -0.0895)
OKLCHoklch(41.79% 0.096 249.4)
XYZxyz(7.0124, 7.3305, 20.7800)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F7E #7E4A1B
analogous
#1B7E7C #1B4F7E #1B1D7E
triadic
#1B4F7E #7E1B4F #4F7E1B
tetradic
#1B4F7E #7C1B7E #7E4A1B #1D7E1B
square
#1B4F7E #7C1B7E #7E4A1B #1D7E1B
split-complementary
#1B4F7E #7E1B1D #7E7C1B
monochromatic
#051019 #102F4C #1B4F7E #266FB0 #3E8ED6

Accessibility & contrast

On white

8.52
#1B4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1B4F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F7E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F7E#FFFFFF#000000##FFFFFF
##1B4F7E1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#2B487D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4f7e;
/* rgb */ color: rgb(27, 79, 126);
/* oklch */ color: oklch(41.8% 0.096 249.4);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1b4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f7e;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f7e",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 208.485,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41791,
    "c": 0.09561,
    "h": 249.4
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#1B4F7E
secondary
#B27843
accent
#9040E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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