#1B4F7B#1B4F7B

#1B4F7B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.092 H 247.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1B4F7B
RGBrgb(27, 79, 123)
HSLhsl(208, 64%, 29%)
HSVhsv(208, 78%, 48%)
CMYKcmyk(78%, 35.8%, 0%, 51.8%)
CIE-LABlab(32.38, -0.74, -29.85)
CIE-LCHlch(32.38, 29.86, 268.58°)
OKLaboklab(41.6% -0.0345 -0.0848)
OKLCHoklch(41.6% 0.092 247.9)
XYZxyz(6.8218, 7.2542, 19.7757)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F7B #7B471B
analogous
#1B7B77 #1B4F7B #1B1F7B
triadic
#1B4F7B #7B1B4F #4F7B1B
tetradic
#1B4F7B #771B7B #7B471B #1F7B1B
square
#1B4F7B #771B7B #7B471B #1F7B1B
split-complementary
#1B4F7B #7B1B1F #7B771B
monochromatic
#061019 #102F49 #1B4F7B #266FAD #3C8FD4

Accessibility & contrast

On white

8.57
#1B4F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B4F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F7B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F7B#FFFFFF#000000##FFFFFF
##1B4F7B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4f7b;
/* rgb */ color: rgb(27, 79, 123);
/* oklch */ color: oklch(41.6% 0.092 247.9);
Tailwind
colors: {
  custom: {
    50: '#6680a1',
    500: '#1b4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f7b;
$custom-light: #6680a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f7b",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 207.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.09159,
    "h": 247.9
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#1B4F7B
secondary
#AF7443
accent
#8D41E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1B4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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