#1B405F#1B405F

#1B405F is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.0% C 0.069 H 246.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#1B405F
RGBrgb(27, 64, 95)
HSLhsl(207, 56%, 24%)
HSVhsv(207, 72%, 37%)
CMYKcmyk(71.6%, 32.6%, 0%, 62.7%)
CIE-LABlab(25.94, -1.92, -22.25)
CIE-LCHlch(25.94, 22.33, 265.08°)
OKLaboklab(36.03% -0.0273 -0.0629)
OKLCHoklch(36.03% 0.069 246.5)
XYZxyz(4.3502, 4.7256, 11.5071)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B405F #5F3A1B
analogous
#1B5F5C #1B405F #1B1E5F
triadic
#1B405F #5F1B40 #405F1B
tetradic
#1B405F #5C1B5F #5F3A1B #1E5F1B
square
#1B405F #5C1B5F #5F3A1B #1E5F1B
split-complementary
#1B405F #5F1B1E #5F5C1B
monochromatic
#071018 #0D202F #1B405F #29608F #3680BE

Accessibility & contrast

On white

10.80
#1B405F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B405F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B405F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B405F#FFFFFF#000000##FFFFFF
##1B405F1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#293A5E
Tritanopia (blue-blind)
#00474B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b405f;
/* rgb */ color: rgb(27, 64, 95);
/* oklch */ color: oklch(36.0% 0.069 246.5);
Tailwind
colors: {
  custom: {
    50: '#60748c',
    500: '#1b405f',
    950: '#000000',
  },
}
SCSS
$custom: #1b405f;
$custom-light: #60748c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b405f",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 207.353,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3603,
    "c": 0.06855,
    "h": 246.5
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#1B405F
secondary
#956741
accent
#8D49DF
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #1B405F

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

Preview Lab → · Contrast checker → · Palette generator →

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