#1B4E94#1B4E94

#1B4E94 is a dark, vivid cyan. Relative luminance 0.078; OKLCH L 43.1% C 0.127 H 257.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1B4E94
RGBrgb(27, 78, 148)
HSLhsl(215, 69%, 34%)
HSVhsv(215, 82%, 58%)
CMYKcmyk(81.8%, 47.3%, 0%, 42%)
CIE-LABlab(33.60, 9.96, -43.26)
CIE-LCHlch(33.60, 44.40, 282.97°)
OKLaboklab(43.05% -0.0275 -0.1242)
OKLCHoklch(43.05% 0.127 257.5)
XYZxyz(8.5197, 7.8189, 29.0714)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E94 #94611B
analogous
#1B8B94 #1B4E94 #251B94
triadic
#1B4E94 #941B4E #4E941B
tetradic
#1B4E94 #941B8B #94611B #1B9425
square
#1B4E94 #941B8B #94611B #1B9425
split-complementary
#1B4E94 #94251B #8B941B
monochromatic
#08172C #123360 #1B4E94 #2469C8 #4B89DE

Accessibility & contrast

On white

8.19
#1B4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1B4E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E94
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E94#FFFFFF#000000##FFFFFF
##1B4E941.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285597
Deuteranopia (green-blind)
#074A93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4e94;
/* rgb */ color: rgb(27, 78, 148);
/* oklch */ color: oklch(43.1% 0.127 257.5);
Tailwind
colors: {
  custom: {
    50: '#6c7fb4',
    500: '#1b4e94',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e94;
$custom-light: #6c7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e94",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 214.711,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.12724,
    "h": 257.5
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#1B4E94
secondary
#C08F4B
accent
#A23CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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