#1B4E7E#1B4E7E

#1B4E7E is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.097 H 250.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1B4E7E
RGBrgb(27, 78, 126)
HSLhsl(209, 65%, 30%)
HSVhsv(209, 79%, 49%)
CMYKcmyk(78.6%, 38.1%, 0%, 50.6%)
CIE-LABlab(32.23, 1.11, -31.95)
CIE-LCHlch(32.23, 31.97, 271.98°)
OKLaboklab(41.54% -0.0326 -0.091)
OKLCHoklch(41.54% 0.097 250.3)
XYZxyz(6.9409, 7.1873, 20.7561)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E7E #7E4B1B
analogous
#1B7E7D #1B4E7E #1B1C7E
triadic
#1B4E7E #7E1B4E #4E7E1B
tetradic
#1B4E7E #7D1B7E #7E4B1B #1C7E1B
square
#1B4E7E #7D1B7E #7E4B1B #1C7E1B
split-complementary
#1B4E7E #7E1B1C #7E7D1B
monochromatic
#051019 #102F4C #1B4E7E #266DB0 #3E8CD6

Accessibility & contrast

On white

8.62
#1B4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1B4E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E7E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E7E#FFFFFF#000000##FFFFFF
##1B4E7E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4e7e;
/* rgb */ color: rgb(27, 78, 126);
/* oklch */ color: oklch(41.5% 0.097 250.3);
Tailwind
colors: {
  custom: {
    50: '#677fa3',
    500: '#1b4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e7e;
$custom-light: #677fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e7e",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 209.091,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.09668,
    "h": 250.3
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#1B4E7E
secondary
#B27943
accent
#9140E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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