#1B405B#1B405B

#1B405B is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.8% C 0.063 H 243.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1B405B
RGBrgb(27, 64, 91)
HSLhsl(205, 54%, 23%)
HSVhsv(205, 70%, 36%)
CMYKcmyk(70.3%, 29.7%, 0%, 64.3%)
CIE-LABlab(25.73, -3.47, -19.99)
CIE-LCHlch(25.73, 20.28, 260.15°)
OKLaboklab(35.8% -0.0287 -0.0563)
OKLCHoklch(35.8% 0.063 243)
XYZxyz(4.1730, 4.6547, 10.5740)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B405B #5B361B
analogous
#1B5B56 #1B405B #1B205B
triadic
#1B405B #5B1B40 #405B1B
tetradic
#1B405B #561B5B #5B361B #205B1B
square
#1B405B #561B5B #5B361B #205B1B
split-complementary
#1B405B #5B1B20 #5B561B
monochromatic
#071118 #0D1F2C #1B405B #29618A #3782B9

Accessibility & contrast

On white

10.88
#1B405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B405B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B405B#FFFFFF#000000##FFFFFF
##1B405B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405C
Deuteranopia (green-blind)
#2B3A5B
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b405b;
/* rgb */ color: rgb(27, 64, 91);
/* oklch */ color: oklch(35.8% 0.063 243.0);
Tailwind
colors: {
  custom: {
    50: '#5f7489',
    500: '#1b405b',
    950: '#000000',
  },
}
SCSS
$custom: #1b405b;
$custom-light: #5f7489;
$custom-dark: #000000;
JSON
{
  "hex": "#1b405b",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 205.313,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.06321,
    "h": 243
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#1B405B
secondary
#916341
accent
#884ADE
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #1B405B

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

Preview Lab → · Contrast checker → · Palette generator →

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