#1B4E7F#1B4E7F

#1B4E7F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.098 H 250.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1B4E7F
RGBrgb(27, 78, 127)
HSLhsl(209, 65%, 30%)
HSVhsv(209, 79%, 50%)
CMYKcmyk(78.7%, 38.6%, 0%, 50.2%)
CIE-LABlab(32.29, 1.50, -32.48)
CIE-LCHlch(32.29, 32.51, 272.65°)
OKLaboklab(41.61% -0.0324 -0.0925)
OKLCHoklch(41.61% 0.098 250.7)
XYZxyz(7.0057, 7.2133, 21.0976)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E7F #7F4C1B
analogous
#1B7F7E #1B4E7F #1B1C7F
triadic
#1B4E7F #7F1B4E #4E7F1B
tetradic
#1B4E7F #7E1B7F #7F4C1B #1C7F1B
square
#1B4E7F #7E1B7F #7F4C1B #1C7F1B
split-complementary
#1B4E7F #7F1B1C #7F7E1B
monochromatic
#06101A #102F4D #1B4E7F #266DB1 #3E8CD6

Accessibility & contrast

On white

8.60
#1B4E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E7F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E7F#FFFFFF#000000##FFFFFF
##1B4E7F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4e7f;
/* rgb */ color: rgb(27, 78, 127);
/* oklch */ color: oklch(41.6% 0.098 250.7);
Tailwind
colors: {
  custom: {
    50: '#677fa4',
    500: '#1b4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e7f;
$custom-light: #677fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e7f",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 209.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41606,
    "c": 0.09803,
    "h": 250.7
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#1B4E7F
secondary
#B37A43
accent
#9240E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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