#1B5394#1B5394

#1B5394 is a dark, vivid cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.121 H 254.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#1B5394
RGBrgb(27, 83, 148)
HSLhsl(212, 69%, 34%)
HSVhsv(212, 82%, 58%)
CMYKcmyk(81.8%, 43.9%, 0%, 42%)
CIE-LABlab(35.12, 6.62, -40.83)
CIE-LCHlch(35.12, 41.37, 279.21°)
OKLaboklab(44.23% -0.0318 -0.117)
OKLCHoklch(44.23% 0.121 254.8)
XYZxyz(8.8886, 8.5566, 29.1943)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5394 #945C1B
analogous
#1B9094 #1B5394 #1F1B94
triadic
#1B5394 #941B53 #53941B
tetradic
#1B5394 #941B90 #945C1B #1B941F
square
#1B5394 #941B90 #945C1B #1B941F
split-complementary
#1B5394 #941F1B #90941B
monochromatic
#08192C #123660 #1B5394 #2470C8 #4B8FDE

Accessibility & contrast

On white

7.74
#1B5394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1B5394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5394
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5394#FFFFFF#000000##FFFFFF
##1B53941.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325897
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5394;
/* rgb */ color: rgb(27, 83, 148);
/* oklch */ color: oklch(44.2% 0.121 254.8);
Tailwind
colors: {
  custom: {
    50: '#6c82b4',
    500: '#1b5394',
    950: '#000000',
  },
}
SCSS
$custom: #1b5394;
$custom-light: #6c82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5394",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 212.231,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44226,
    "c": 0.12121,
    "h": 254.8
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#1B5394
secondary
#C08A4B
accent
#9A3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5394

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

Preview Lab → · Contrast checker → · Palette generator →

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