#1B4E8F#1B4E8F

#1B4E8F is a dark, vivid cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.120 H 256.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#1B4E8F
RGBrgb(27, 78, 143)
HSLhsl(214, 68%, 33%)
HSVhsv(214, 81%, 56%)
CMYKcmyk(81.1%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.27, 7.94, -40.75)
CIE-LCHlch(33.27, 41.51, 281.03°)
OKLaboklab(42.69% -0.0285 -0.1168)
OKLCHoklch(42.69% 0.12 256.3)
XYZxyz(8.1325, 7.6640, 27.0320)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E8F #8F5C1B
analogous
#1B888F #1B4E8F #221B8F
triadic
#1B4E8F #8F1B4E #4E8F1B
tetradic
#1B4E8F #8F1B88 #8F5C1B #1B8F22
square
#1B4E8F #8F1B88 #8F5C1B #1B8F22
split-complementary
#1B4E8F #8F221B #888F1B
monochromatic
#081628 #11325C #1B4E8F #256AC2 #4889DC

Accessibility & contrast

On white

8.29
#1B4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E8F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E8F#FFFFFF#000000##FFFFFF
##1B4E8F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5491
Deuteranopia (green-blind)
#14498E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4e8f;
/* rgb */ color: rgb(27, 78, 143);
/* oklch */ color: oklch(42.7% 0.120 256.3);
Tailwind
colors: {
  custom: {
    50: '#6b7fb0',
    500: '#1b4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e8f;
$custom-light: #6b7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e8f",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 213.621,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.12025,
    "h": 256.3
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#1B4E8F
secondary
#BE8A48
accent
#9E3DEB
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1B4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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