#1B4E6B#1B4E6B

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

Color values

HEX#1B4E6B
RGBrgb(27, 78, 107)
HSLhsl(202, 60%, 26%)
HSVhsv(202, 75%, 42%)
CMYKcmyk(74.8%, 27.1%, 0%, 58%)
CIE-LABlab(31.21, -6.33, -21.66)
CIE-LCHlch(31.21, 22.57, 253.71°)
OKLaboklab(40.41% -0.0389 -0.061)
OKLCHoklch(40.41% 0.072 237.5)
XYZxyz(5.8292, 6.7427, 14.9013)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E6B #6B381B
analogous
#1B6B60 #1B4E6B #1B266B
triadic
#1B4E6B #6B1B4E #4E6B1B
tetradic
#1B4E6B #601B6B #6B381B #266B1B
square
#1B4E6B #601B6B #6B381B #266B1B
split-complementary
#1B4E6B #6B1B26 #6B601B
monochromatic
#061218 #0F2A3A #1B4E6B #27729C #3595CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4E6B#FFFFFF#000000##FFFFFF
##1B4E6B1.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)
#404E6C
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#005558
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4e6b;
/* rgb */ color: rgb(27, 78, 107);
/* oklch */ color: oklch(40.4% 0.072 237.5);
Tailwind
colors: {
  custom: {
    50: '#637f95',
    500: '#1b4e6b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e6b;
$custom-light: #637f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e6b",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 107
  },
  "hsl": {
    "h": 201.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40407,
    "c": 0.07236,
    "h": 237.5
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#1B4E6B
secondary
#A06442
accent
#7E45E3
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1B4E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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