#1B405D#1B405D

#1B405D is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.9% C 0.066 H 244.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1B405D
RGBrgb(27, 64, 93)
HSLhsl(206, 55%, 24%)
HSVhsv(206, 71%, 36%)
CMYKcmyk(71%, 31.2%, 0%, 63.5%)
CIE-LABlab(25.83, -2.70, -21.12)
CIE-LCHlch(25.83, 21.29, 262.72°)
OKLaboklab(35.91% -0.028 -0.0596)
OKLCHoklch(35.91% 0.066 244.8)
XYZxyz(4.2604, 4.6897, 11.0345)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B405D #5D381B
analogous
#1B5D59 #1B405D #1B1F5D
triadic
#1B405D #5D1B40 #405D1B
tetradic
#1B405D #591B5D #5D381B #1F5D1B
square
#1B405D #591B5D #5D381B #1F5D1B
split-complementary
#1B405D #5D1B1F #5D591B
monochromatic
#071018 #0D1F2E #1B405D #29618C #3781BC

Accessibility & contrast

On white

10.84
#1B405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B405D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B405D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B405D#FFFFFF#000000##FFFFFF
##1B405D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415E
Deuteranopia (green-blind)
#2A3A5C
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b405d;
/* rgb */ color: rgb(27, 64, 93);
/* oklch */ color: oklch(35.9% 0.066 244.8);
Tailwind
colors: {
  custom: {
    50: '#60748b',
    500: '#1b405d',
    950: '#000000',
  },
}
SCSS
$custom: #1b405d;
$custom-light: #60748b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b405d",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 206.364,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35911,
    "c": 0.06585,
    "h": 244.8
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#1B405D
secondary
#936541
accent
#8B49DE
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #1B405D

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

Preview Lab → · Contrast checker → · Palette generator →

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