#1B405C#1B405C

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

Color values

HEX#1B405C
RGBrgb(27, 64, 92)
HSLhsl(206, 55%, 23%)
HSVhsv(206, 71%, 36%)
CMYKcmyk(70.7%, 30.4%, 0%, 63.9%)
CIE-LABlab(25.78, -3.08, -20.55)
CIE-LCHlch(25.78, 20.78, 261.47°)
OKLaboklab(35.85% -0.0284 -0.058)
OKLCHoklch(35.85% 0.065 243.9)
XYZxyz(4.2164, 4.6721, 10.8027)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B405C #5C371B
analogous
#1B5C57 #1B405C #1B1F5C
triadic
#1B405C #5C1B40 #405C1B
tetradic
#1B405C #571B5C #5C371B #1F5C1B
square
#1B405C #571B5C #5C371B #1F5C1B
split-complementary
#1B405C #5C1B1F #5C571B
monochromatic
#071018 #0D1F2D #1B405C #29618B #3782BB

Accessibility & contrast

On white

10.85
#1B405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B405C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B405C#FFFFFF#000000##FFFFFF
##1B405C1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b405c;
/* rgb */ color: rgb(27, 64, 92);
/* oklch */ color: oklch(35.9% 0.065 243.9);
Tailwind
colors: {
  custom: {
    50: '#5f748a',
    500: '#1b405c',
    950: '#000000',
  },
}
SCSS
$custom: #1b405c;
$custom-light: #5f748a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b405c",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 205.846,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.06453,
    "h": 243.9
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#1B405C
secondary
#926441
accent
#8A4ADE
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #1B405C

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

Preview Lab → · Contrast checker → · Palette generator →

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