#1B4C8F#1B4C8F

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

Color values

HEX#1B4C8F
RGBrgb(27, 76, 143)
HSLhsl(215, 68%, 33%)
HSVhsv(215, 81%, 56%)
CMYKcmyk(81.1%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.67, 9.29, -41.72)
CIE-LCHlch(32.67, 42.74, 282.55°)
OKLaboklab(42.22% -0.0268 -0.1197)
OKLCHoklch(42.22% 0.123 257.4)
XYZxyz(7.9925, 7.3841, 26.9853)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C8F #8F5E1B
analogous
#1B868F #1B4C8F #241B8F
triadic
#1B4C8F #8F1B4C #4C8F1B
tetradic
#1B4C8F #8F1B86 #8F5E1B #1B8F24
square
#1B4C8F #8F1B86 #8F5E1B #1B8F24
split-complementary
#1B4C8F #8F241B #868F1B
monochromatic
#081528 #11315C #1B4C8F #2567C2 #4887DC

Accessibility & contrast

On white

8.48
#1B4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1B4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C8F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C8F#FFFFFF#000000##FFFFFF
##1B4C8F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4c8f;
/* rgb */ color: rgb(27, 76, 143);
/* oklch */ color: oklch(42.2% 0.123 257.4);
Tailwind
colors: {
  custom: {
    50: '#6b7db0',
    500: '#1b4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c8f;
$custom-light: #6b7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c8f",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 214.655,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.12269,
    "h": 257.4
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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