#1B405A#1B405A

#1B405A is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.7% C 0.062 H 242.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1B405A
RGBrgb(27, 64, 90)
HSLhsl(205, 54%, 23%)
HSVhsv(205, 70%, 35%)
CMYKcmyk(70%, 28.9%, 0%, 64.7%)
CIE-LABlab(25.68, -3.85, -19.42)
CIE-LCHlch(25.68, 19.79, 258.77°)
OKLaboklab(35.74% -0.0291 -0.0547)
OKLCHoklch(35.74% 0.062 242)
XYZxyz(4.1302, 4.6376, 10.3484)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B405A #5A351B
analogous
#1B5A54 #1B405A #1B205A
triadic
#1B405A #5A1B40 #405A1B
tetradic
#1B405A #541B5A #5A351B #205A1B
square
#1B405A #541B5A #5A351B #205A1B
split-complementary
#1B405A #5A1B20 #5A541B
monochromatic
#071118 #0D1F2B #1B405A #296189 #3783B8

Accessibility & contrast

On white

10.89
#1B405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B405A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B405A#FFFFFF#000000##FFFFFF
##1B405A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405B
Deuteranopia (green-blind)
#2C3A5A
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b405a;
/* rgb */ color: rgb(27, 64, 90);
/* oklch */ color: oklch(35.7% 0.062 242.0);
Tailwind
colors: {
  custom: {
    50: '#5f7488',
    500: '#1b405a',
    950: '#000000',
  },
}
SCSS
$custom: #1b405a;
$custom-light: #5f7488;
$custom-dark: #000000;
JSON
{
  "hex": "#1b405a",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 204.762,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.06192,
    "h": 242
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#1B405A
secondary
#906241
accent
#874BDD
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #1B405A

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

Preview Lab → · Contrast checker → · Palette generator →

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