#1B415B#1B415B

#1B415B is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.1% C 0.062 H 241.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#1B415B
RGBrgb(27, 65, 91)
HSLhsl(204, 54%, 23%)
HSVhsv(204, 70%, 36%)
CMYKcmyk(70.3%, 28.6%, 0%, 64.3%)
CIE-LABlab(26.06, -4.13, -19.46)
CIE-LCHlch(26.06, 19.89, 258.03°)
OKLaboklab(36.06% -0.0299 -0.0548)
OKLCHoklch(36.06% 0.062 241.4)
XYZxyz(4.2299, 4.7685, 10.5930)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B415B #5B351B
analogous
#1B5B55 #1B415B #1B215B
triadic
#1B415B #5B1B41 #415B1B
tetradic
#1B415B #551B5B #5B351B #215B1B
square
#1B415B #551B5B #5B351B #215B1B
split-complementary
#1B415B #5B1B21 #5B551B
monochromatic
#071118 #0D1F2C #1B415B #29638A #3784B9

Accessibility & contrast

On white

10.75
#1B415B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B415B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B415B#FFFFFF#000000##FFFFFF
##1B415B1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415C
Deuteranopia (green-blind)
#2C3B5B
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b415b;
/* rgb */ color: rgb(27, 65, 91);
/* oklch */ color: oklch(36.1% 0.062 241.4);
Tailwind
colors: {
  custom: {
    50: '#5f7589',
    500: '#1b415b',
    950: '#000000',
  },
}
SCSS
$custom: #1b415b;
$custom-light: #5f7589;
$custom-dark: #000000;
JSON
{
  "hex": "#1b415b",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 204.375,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.06242,
    "h": 241.4
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#1B415B
secondary
#916141
accent
#864ADE
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #1B415B

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

Preview Lab → · Contrast checker → · Palette generator →

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