#1B4C8E#1B4C8E

#1B4C8E is a dark, vivid cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.121 H 257.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1B4C8E
RGBrgb(27, 76, 142)
HSLhsl(214, 68%, 33%)
HSVhsv(214, 81%, 56%)
CMYKcmyk(81%, 46.5%, 0%, 44.3%)
CIE-LABlab(32.60, 8.88, -41.22)
CIE-LCHlch(32.60, 42.16, 282.16°)
OKLaboklab(42.15% -0.027 -0.1182)
OKLCHoklch(42.15% 0.121 257.1)
XYZxyz(7.9171, 7.3539, 26.5881)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C8E #8E5D1B
analogous
#1B858E #1B4C8E #241B8E
triadic
#1B4C8E #8E1B4C #4C8E1B
tetradic
#1B4C8E #8E1B85 #8E5D1B #1B8E24
square
#1B4C8E #8E1B85 #8E5D1B #1B8E24
split-complementary
#1B4C8E #8E241B #858E1B
monochromatic
#071527 #11305B #1B4C8E #2568C1 #4787DC

Accessibility & contrast

On white

8.50
#1B4C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1B4C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C8E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C8E#FFFFFF#000000##FFFFFF
##1B4C8E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4c8e;
/* rgb */ color: rgb(27, 76, 142);
/* oklch */ color: oklch(42.2% 0.121 257.1);
Tailwind
colors: {
  custom: {
    50: '#6b7daf',
    500: '#1b4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c8e;
$custom-light: #6b7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c8e",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 214.435,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.12129,
    "h": 257.1
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#1B4C8E
secondary
#BE8B47
accent
#A13DEB
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1B4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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