#1B4E8C#1B4E8C

#1B4E8C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.116 H 255.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1B4E8C
RGBrgb(27, 78, 140)
HSLhsl(213, 68%, 33%)
HSVhsv(213, 81%, 55%)
CMYKcmyk(80.7%, 44.3%, 0%, 45.1%)
CIE-LABlab(33.08, 6.73, -39.22)
CIE-LCHlch(33.08, 39.79, 279.74°)
OKLaboklab(42.48% -0.0291 -0.1123)
OKLCHoklch(42.48% 0.116 255.5)
XYZxyz(7.9082, 7.5743, 25.8510)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E8C #8C591B
analogous
#1B878C #1B4E8C #201B8C
triadic
#1B4E8C #8C1B4E #4E8C1B
tetradic
#1B4E8C #8C1B87 #8C591B #1B8C20
square
#1B4E8C #8C1B87 #8C591B #1B8C20
split-complementary
#1B4E8C #8C201B #878C1B
monochromatic
#071525 #113159 #1B4E8C #256BBF #4689DB

Accessibility & contrast

On white

8.35
#1B4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B4E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E8C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E8C#FFFFFF#000000##FFFFFF
##1B4E8C1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4e8c;
/* rgb */ color: rgb(27, 78, 140);
/* oklch */ color: oklch(42.5% 0.116 255.5);
Tailwind
colors: {
  custom: {
    50: '#6a7fae',
    500: '#1b4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e8c;
$custom-light: #6a7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e8c",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 212.92,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42481,
    "c": 0.11606,
    "h": 255.5
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#1B4E8C
secondary
#BD8746
accent
#9C3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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