#1B5494#1B5494

#1B5494 is a dark, vivid cyan. Relative luminance 0.087; OKLCH L 44.5% C 0.120 H 254.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#1B5494
RGBrgb(27, 84, 148)
HSLhsl(212, 69%, 34%)
HSVhsv(212, 82%, 58%)
CMYKcmyk(81.8%, 43.2%, 0%, 42%)
CIE-LABlab(35.42, 5.96, -40.35)
CIE-LCHlch(35.42, 40.78, 278.41°)
OKLaboklab(44.46% -0.0326 -0.1155)
OKLCHoklch(44.46% 0.12 254.2)
XYZxyz(8.9656, 8.7107, 29.2200)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5494 #945B1B
analogous
#1B9194 #1B5494 #1F1B94
triadic
#1B5494 #941B54 #54941B
tetradic
#1B5494 #941B91 #945B1B #1B941F
square
#1B5494 #941B91 #945B1B #1B941F
split-complementary
#1B5494 #941F1B #91941B
monochromatic
#08192C #123760 #1B5494 #2471C8 #4B90DE

Accessibility & contrast

On white

7.66
#1B5494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1B5494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5494
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5494#FFFFFF#000000##FFFFFF
##1B54941.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345997
Deuteranopia (green-blind)
#1E4E93
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5494;
/* rgb */ color: rgb(27, 84, 148);
/* oklch */ color: oklch(44.5% 0.120 254.2);
Tailwind
colors: {
  custom: {
    50: '#6c83b4',
    500: '#1b5494',
    950: '#000000',
  },
}
SCSS
$custom: #1b5494;
$custom-light: #6c83b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5494",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 211.736,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.12005,
    "h": 254.2
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#1B5494
secondary
#C0894B
accent
#993CEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5494

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

Preview Lab → · Contrast checker → · Palette generator →

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