#1B4D7E#1B4D7E

#1B4D7E is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.098 H 251.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1B4D7E
RGBrgb(27, 77, 126)
HSLhsl(210, 65%, 30%)
HSVhsv(210, 79%, 49%)
CMYKcmyk(78.6%, 38.9%, 0%, 50.6%)
CIE-LABlab(31.91, 1.76, -32.45)
CIE-LCHlch(31.91, 32.50, 273.11°)
OKLaboklab(41.29% -0.0317 -0.0925)
OKLCHoklch(41.29% 0.098 251.1)
XYZxyz(6.8703, 7.0463, 20.7326)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D7E #7E4C1B
analogous
#1B7E7E #1B4D7E #1B1B7E
triadic
#1B4D7E #7E1B4D #4D7E1B
tetradic
#1B4D7E #7E1B7E #7E4C1B #1B7E1B
square
#1B4D7E #7E1B7E #7E4C1B #1B7E1B
split-complementary
#1B4D7E #7E1B1B #7E7E1B
monochromatic
#050F19 #102E4C #1B4D7E #266CB0 #3E8AD6

Accessibility & contrast

On white

8.72
#1B4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1B4D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D7E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D7E#FFFFFF#000000##FFFFFF
##1B4D7E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4d7e;
/* rgb */ color: rgb(27, 77, 126);
/* oklch */ color: oklch(41.3% 0.098 251.1);
Tailwind
colors: {
  custom: {
    50: '#677ea3',
    500: '#1b4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d7e;
$custom-light: #677ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d7e",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 209.697,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.09776,
    "h": 251.1
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#1B4D7E
secondary
#B27A43
accent
#9340E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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