#1B4E8B#1B4E8B

#1B4E8B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.4% C 0.115 H 255.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1B4E8B
RGBrgb(27, 78, 139)
HSLhsl(213, 67%, 33%)
HSVhsv(213, 81%, 55%)
CMYKcmyk(80.6%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.02, 6.33, -38.71)
CIE-LCHlch(33.02, 39.22, 279.28°)
OKLaboklab(42.41% -0.0294 -0.1108)
OKLCHoklch(42.41% 0.115 255.2)
XYZxyz(7.8349, 7.5449, 25.4645)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E8B #8B581B
analogous
#1B868B #1B4E8B #201B8B
triadic
#1B4E8B #8B1B4E #4E8B1B
tetradic
#1B4E8B #8B1B86 #8B581B #1B8B20
square
#1B4E8B #8B1B86 #8B581B #1B8B20
split-complementary
#1B4E8B #8B201B #868B1B
monochromatic
#071425 #113158 #1B4E8B #256BBE #458ADB

Accessibility & contrast

On white

8.37
#1B4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E8B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E8B#FFFFFF#000000##FFFFFF
##1B4E8B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4e8b;
/* rgb */ color: rgb(27, 78, 139);
/* oklch */ color: oklch(42.4% 0.115 255.2);
Tailwind
colors: {
  custom: {
    50: '#6a7fad',
    500: '#1b4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e8b;
$custom-light: #6a7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e8b",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 212.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42411,
    "c": 0.11467,
    "h": 255.2
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#1B4E8B
secondary
#BC8645
accent
#9C3DEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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